diff options
Diffstat (limited to 'chrome/browser/child_process_launcher.cc')
-rw-r--r-- | chrome/browser/child_process_launcher.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/child_process_launcher.cc b/chrome/browser/child_process_launcher.cc index ad464c1..8a295cd 100644 --- a/chrome/browser/child_process_launcher.cc +++ b/chrome/browser/child_process_launcher.cc @@ -61,10 +61,10 @@ class ChildProcessLauncher::Context Client* client) { client_ = client; - CHECK(ChromeThread::GetCurrentThreadIdentifier(&client_thread_id_)); + CHECK(BrowserThread::GetCurrentThreadIdentifier(&client_thread_id_)); - ChromeThread::PostTask( - ChromeThread::PROCESS_LAUNCHER, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::PROCESS_LAUNCHER, FROM_HERE, NewRunnableMethod( this, &Context::LaunchInternal, @@ -81,7 +81,7 @@ class ChildProcessLauncher::Context void ResetClient() { // No need for locking as this function gets called on the same thread that // client_ would be used. - CHECK(ChromeThread::CurrentlyOn(client_thread_id_)); + CHECK(BrowserThread::CurrentlyOn(client_thread_id_)); client_ = NULL; } @@ -191,7 +191,7 @@ class ChildProcessLauncher::Context } #endif // else defined(OS_POSIX) - ChromeThread::PostTask( + BrowserThread::PostTask( client_thread_id_, FROM_HERE, NewRunnableMethod( this, @@ -225,8 +225,8 @@ class ChildProcessLauncher::Context // On Posix, EnsureProcessTerminated can lead to 2 seconds of sleep! So // don't this on the UI/IO threads. - ChromeThread::PostTask( - ChromeThread::PROCESS_LAUNCHER, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::PROCESS_LAUNCHER, FROM_HERE, NewRunnableFunction( &ChildProcessLauncher::Context::TerminateInternal, #if defined(OS_LINUX) @@ -262,7 +262,7 @@ class ChildProcessLauncher::Context } Client* client_; - ChromeThread::ID client_thread_id_; + BrowserThread::ID client_thread_id_; base::Process process_; bool starting_; |