summaryrefslogtreecommitdiffstats
path: root/base/debug_on_start.cc
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /base/debug_on_start.cc
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'base/debug_on_start.cc')
-rw-r--r--base/debug_on_start.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/debug_on_start.cc b/base/debug_on_start.cc
index 9cabde5..15dab05 100644
--- a/base/debug_on_start.cc
+++ b/base/debug_on_start.cc
@@ -8,7 +8,7 @@
#include "base/base_switches.h"
#include "base/basictypes.h"
-#include "base/debug_util.h"
+#include "base/debug/debugger.h"
// Minimalist implementation to try to find a command line argument. We can use
// kernel32 exported functions but not the CRT functions because we're too early
@@ -56,13 +56,13 @@ int __cdecl DebugOnStart::Init() {
// - Do a int3.
// It will fails if we run in a sandbox. That is expected.
- DebugUtil::SpawnDebuggerOnProcess(GetCurrentProcessId());
+ base::debug::SpawnDebuggerOnProcess(GetCurrentProcessId());
// Wait for a debugger to come take us.
- DebugUtil::WaitForDebugger(60, false);
+ base::debug::WaitForDebugger(60, false);
} else if (FindArgument(GetCommandLine(), switches::kWaitForDebugger)) {
// Wait for a debugger to come take us.
- DebugUtil::WaitForDebugger(60, true);
+ base::debug::WaitForDebugger(60, true);
}
return 0;
}