os_crash_dumps.h 690 B

12345678910111213141516171819202122
  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
  3. // found in the LICENSE file.
  4. #ifndef BASE_MAC_OS_CRASH_DUMPS_H_
  5. #define BASE_MAC_OS_CRASH_DUMPS_H_
  6. #include "base/base_export.h"
  7. namespace base {
  8. namespace mac {
  9. // On Mac OS X, it can take a really long time for the OS crash handler to
  10. // process a Chrome crash when debugging symbols are available. This
  11. // translates into a long wait until the process actually dies. This call
  12. // disables Apple Crash Reporter entirely.
  13. BASE_EXPORT void DisableOSCrashDumps();
  14. } // namespace mac
  15. } // namespace base
  16. #endif // BASE_MAC_OS_CRASH_DUMPS_H_