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

Unified Diff: chrome/nacl/nacl_main.cc

Issue 8686014: Remove child_process.h includes from chrome (specifically WaitForDebugger). I moved the browser p... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « chrome/common/chrome_switches.cc ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_main.cc
===================================================================
--- chrome/nacl/nacl_main.cc (revision 111961)
+++ chrome/nacl/nacl_main.cc (working copy)
@@ -12,32 +12,13 @@
#include "chrome/common/logging_chrome.h"
#include "chrome/nacl/nacl_listener.h"
#include "chrome/nacl/nacl_main_platform_delegate.h"
-#include "content/common/child_process.h"
#include "content/common/hi_res_timer_manager.h"
#include "content/public/common/main_function_params.h"
-// This function provides some ways to test crash and assertion handling
-// behavior of the renderer.
-static void HandleNaClTestParameters(const CommandLine& command_line) {
-// The message box doesn't work in the 64 bit binaries anyways, so no need to
-// link to it since the 64 bit binary doesn't link with chrome or content.
-#if !defined(NACL_WIN64)
- if (command_line.HasSwitch(switches::kNaClStartupDialog)) {
- ChildProcess::WaitForDebugger("NativeClient");
- }
-#endif
-}
-
// main() routine for the NaCl loader process.
int NaClMain(const content::MainFunctionParams& parameters) {
const CommandLine& parsed_command_line = parameters.command_line;
- // This function allows pausing execution using the --nacl-startup-dialog
- // flag allowing us to attach a debugger.
- // Do not move this function down since that would mean we can't easily debug
- // whatever occurs before it.
- HandleNaClTestParameters(parsed_command_line);
-
// The main thread of the plugin services IO.
MessageLoopForIO main_message_loop;
base::PlatformThread::SetName("CrNaClMain");
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698