Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3777)

Unified Diff: base/debug_on_start.cc

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/trace_event_win_unittest.cc ('k') | base/debug_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug_on_start.cc
===================================================================
--- base/debug_on_start.cc (revision 63176)
+++ base/debug_on_start.cc (working copy)
@@ -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 @@
// - 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;
}
« no previous file with comments | « base/debug/trace_event_win_unittest.cc ('k') | base/debug_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698