Index: base/debug/debugger.h |
=================================================================== |
--- base/debug/debugger.h (revision 70346) |
+++ base/debug/debugger.h (working copy) |
@@ -33,6 +33,14 @@ |
// Break into the debugger, assumes a debugger is present. |
void BreakDebugger(); |
+// Used in test code, this controls whether showing dialogs and breaking into |
+// the debugger is suppressed for debug errors, even in debug mode (normally |
+// release mode doesn't do this stuff -- this is controlled separately). |
+// Normally UI is not suppressed. This is normally used when running automated |
+// tests where we want a crash rather than a dialog or a debugger. |
+void SetSuppressDebugUI(bool suppress); |
+bool IsDebugUISuppressed(); |
+ |
} // namespace debug |
} // namespace base |