summaryrefslogtreecommitdiffstats
path: root/base/debug_util.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 17:07:59 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 17:07:59 +0000
commit20c74302b227db28d64ca8394be25f00b4f06fa2 (patch)
tree46cf75c8f113a7bd15de7fa8359b7077dcaf37e2 /base/debug_util.h
parentb3f901e83c60041fa6fd822364bd3580a710e200 (diff)
downloadchromium_src-20c74302b227db28d64ca8394be25f00b4f06fa2.zip
chromium_src-20c74302b227db28d64ca8394be25f00b4f06fa2.tar.gz
chromium_src-20c74302b227db28d64ca8394be25f00b4f06fa2.tar.bz2
Disable Native Crash reporting on OS X, till we enable Breakpad integration.
See http://crbug.com/7652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug_util.h')
-rw-r--r--base/debug_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/base/debug_util.h b/base/debug_util.h
index b61cb1e..8ae0a2b 100644
--- a/base/debug_util.h
+++ b/base/debug_util.h
@@ -51,6 +51,16 @@ class DebugUtil {
// Break into the debugger, assumes a debugger is present.
static void BreakDebugger();
+
+#if defined(OS_MACOSX)
+ // On OS X, it can take a really long time for the OS Crash handler to
+ // process a Chrome crash. This translates into a long wait till the process
+ // actually dies.
+ // This method disables OS Crash reporting entireley.
+ // TODO(playmobil): Remove this when we have Breakpad integration enabled -
+ // see http://crbug.com/7652
+ static void DisableOSCrashDumps();
+#endif // defined(OS_MACOSX)
};
#endif // BASE_DEBUG_UTIL_H_