diff options
author | Iain Merrick <husky@google.com> | 2010-11-01 12:19:54 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-11-03 10:21:10 +0000 |
commit | 731df977c0511bca2206b5f333555b1205ff1f43 (patch) | |
tree | 0e750b949b3f00a1ac11fda25d3c2de512f2b465 /chrome/browser/utility_process_host.cc | |
parent | 5add15e10e7bb80512f2c597ca57221314abe577 (diff) | |
download | external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.zip external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.gz external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.bz2 |
Merge Chromium at r63472 : Initial merge by git.
Change-Id: Ifb9ee821af006a5f2211e81471be93ae440a1f5a
Diffstat (limited to 'chrome/browser/utility_process_host.cc')
-rw-r--r-- | chrome/browser/utility_process_host.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/utility_process_host.cc b/chrome/browser/utility_process_host.cc index 5091169..22495f8 100644 --- a/chrome/browser/utility_process_host.cc +++ b/chrome/browser/utility_process_host.cc @@ -18,7 +18,7 @@ UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh, Client* client, - ChromeThread::ID client_thread_id) + BrowserThread::ID client_thread_id) : BrowserChildProcessHost(UTILITY_PROCESS, rdh), client_(client), client_thread_id_(client_thread_id), @@ -121,9 +121,6 @@ bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) { if (browser_command_line.HasSwitch(switches::kChromeFrame)) cmd_line->AppendSwitch(switches::kChromeFrame); - if (browser_command_line.HasSwitch(switches::kDisableApps)) - cmd_line->AppendSwitch(switches::kDisableApps); - if (browser_command_line.HasSwitch( switches::kEnableExperimentalExtensionApis)) { cmd_line->AppendSwitch(switches::kEnableExperimentalExtensionApis); @@ -157,13 +154,13 @@ bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) { } void UtilityProcessHost::OnMessageReceived(const IPC::Message& message) { - ChromeThread::PostTask( + BrowserThread::PostTask( client_thread_id_, FROM_HERE, NewRunnableMethod(client_.get(), &Client::OnMessageReceived, message)); } void UtilityProcessHost::OnProcessCrashed() { - ChromeThread::PostTask( + BrowserThread::PostTask( client_thread_id_, FROM_HERE, NewRunnableMethod(client_.get(), &Client::OnProcessCrashed)); } |