xref: /aosp_15_r20/external/cronet/base/mac/os_crash_dumps.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef BASE_MAC_OS_CRASH_DUMPS_H_
6 #define BASE_MAC_OS_CRASH_DUMPS_H_
7 
8 #include "base/base_export.h"
9 
10 namespace base::mac {
11 
12 // On Mac OS X, it can take a really long time for the OS crash handler to
13 // process a Chrome crash when debugging symbols are available.  This
14 // translates into a long wait until the process actually dies.  This call
15 // disables Apple Crash Reporter entirely.
16 BASE_EXPORT void DisableOSCrashDumps();
17 
18 }  // namespace base::mac
19 
20 #endif  // BASE_MAC_OS_CRASH_DUMPS_H_
21