summaryrefslogtreecommitdiffstats
path: root/base/debug_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/debug_util.cc')
-rw-r--r--base/debug_util.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/base/debug_util.cc b/base/debug_util.cc
index 21f5b70..4773de3 100644
--- a/base/debug_util.cc
+++ b/base/debug_util.cc
@@ -4,25 +4,4 @@
#include "base/debug_util.h"
-#include "base/platform_thread.h"
-
bool DebugUtil::suppress_dialogs_ = false;
-
-bool DebugUtil::WaitForDebugger(int wait_seconds, bool silent) {
- for (int i = 0; i < wait_seconds * 10; ++i) {
- if (BeingDebugged()) {
- if (!silent)
- BreakDebugger();
- return true;
- }
- PlatformThread::Sleep(100);
- }
- return false;
-}
-
-const void *const *StackTrace::Addresses(size_t* count) {
- *count = count_;
- if (count_)
- return trace_;
- return NULL;
-}