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