Index: mojo/runner/child_process.cc |
diff --git a/mojo/runner/child_process.cc b/mojo/runner/child_process.cc |
index 35531931af47a7ac832b8f214b83451b16851cf3..d16c2d7cd9ed157e34fd6ca4bf9093cd96d10c28 100644 |
--- a/mojo/runner/child_process.cc |
+++ b/mojo/runner/child_process.cc |
@@ -8,7 +8,6 @@ |
#include "base/bind.h" |
#include "base/callback_helpers.h" |
#include "base/command_line.h" |
-#include "base/debug/debugger.h" |
#include "base/files/file_path.h" |
#include "base/location.h" |
#include "base/logging.h" |
@@ -281,19 +280,6 @@ int ChildProcessMain() { |
DVLOG(2) << "ChildProcessMain()"; |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
- if (command_line.HasSwitch(switches::kWaitForDebugger)) { |
- std::string app = command_line.GetSwitchValueASCII(switches::kApp); |
-#if defined(OS_WIN) |
- MessageBox(NULL, command_line.GetSwitchValueNative(switches::kApp).c_str(), |
- command_line.GetSwitchValueNative(switches::kApp).c_str(), |
- MB_OK | MB_SETFOREGROUND); |
-#else |
- LOG(ERROR) << command_line.GetSwitchValueASCII(switches::kApp) |
- << " waiting for GDB. pid: " << getpid(); |
- base::debug::WaitForDebugger(60, true); |
-#endif |
- } |
- |
embedder::ScopedPlatformHandle platform_channel = |
embedder::PlatformChannelPair::PassClientHandleFromParentProcess( |
command_line); |