| Index: base/debug/debugger.cc
|
| ===================================================================
|
| --- base/debug/debugger.cc (revision 70346)
|
| +++ base/debug/debugger.cc (working copy)
|
| @@ -9,6 +9,8 @@
|
| namespace base {
|
| namespace debug {
|
|
|
| +static bool is_debug_ui_suppressed = false;
|
| +
|
| bool WaitForDebugger(int wait_seconds, bool silent) {
|
| for (int i = 0; i < wait_seconds * 10; ++i) {
|
| if (BeingDebugged()) {
|
| @@ -21,5 +23,13 @@
|
| return false;
|
| }
|
|
|
| +void SetSuppressDebugUI(bool suppress) {
|
| + is_debug_ui_suppressed = suppress;
|
| +}
|
| +
|
| +bool IsDebugUISuppressed() {
|
| + return is_debug_ui_suppressed;
|
| +}
|
| +
|
| } // namespace debug
|
| } // namespace base
|
|
|