diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 01:43:56 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 01:43:56 +0000 |
commit | cd60f084650684bb407f237bde2f7156b9f75aca (patch) | |
tree | 8dfe29aeefde03908ff1ab894ea220ed89812b4b /chrome/browser/worker_host | |
parent | 2858d5406a254a1dba769b112ca86951f0ec9361 (diff) | |
download | chromium_src-cd60f084650684bb407f237bde2f7156b9f75aca.zip chromium_src-cd60f084650684bb407f237bde2f7156b9f75aca.tar.gz chromium_src-cd60f084650684bb407f237bde2f7156b9f75aca.tar.bz2 |
Added support for --worker-startup-dialog command line flag.
Added ChildProcess::WaitForDebugger() utility routine, and changed the various
processes to use it.
Review URL: http://codereview.chromium.org/370006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/worker_host')
-rw-r--r-- | chrome/browser/worker_host/worker_process_host.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc index 02e3cc6..a5cbbb8 100644 --- a/chrome/browser/worker_host/worker_process_host.cc +++ b/chrome/browser/worker_host/worker_process_host.cc @@ -111,6 +111,11 @@ bool WorkerProcessHost::Init() { cmd_line.AppendSwitch(switches::kWebWorkerShareProcesses); } + if (CommandLine::ForCurrentProcess()->HasSwitch( + switches::kWorkerStartupDialog)) { + cmd_line.AppendSwitch(switches::kWorkerStartupDialog); + } + base::ProcessHandle process; #if defined(OS_WIN) process = sandbox::StartProcess(&cmd_line); |