summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_launcher.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-10 22:24:48 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-10 22:24:48 +0000
commitd04e76609929454e853117ea8c544774e48d50ed (patch)
tree4f86e1ab973913bf5238d036a496028b0774f6c1 /chrome/browser/child_process_launcher.cc
parentcc4c9e1dca4f95d322aedff8e520621f4cee5087 (diff)
downloadchromium_src-d04e76609929454e853117ea8c544774e48d50ed.zip
chromium_src-d04e76609929454e853117ea8c544774e48d50ed.tar.gz
chromium_src-d04e76609929454e853117ea8c544774e48d50ed.tar.bz2
Rename ChromeThread to BrowserThread Part14:
- Rename the entries under the first 40 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3667002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/child_process_launcher.cc')
-rw-r--r--chrome/browser/child_process_launcher.cc16
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_;