diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-10 22:24:48 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-10 22:24:48 +0000 |
commit | d04e76609929454e853117ea8c544774e48d50ed (patch) | |
tree | 4f86e1ab973913bf5238d036a496028b0774f6c1 /chrome/browser/browser_child_process_host.cc | |
parent | cc4c9e1dca4f95d322aedff8e520621f4cee5087 (diff) | |
download | chromium_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/browser_child_process_host.cc')
-rw-r--r-- | chrome/browser/browser_child_process_host.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser_child_process_host.cc b/chrome/browser/browser_child_process_host.cc index 36f8411..fb846b4 100644 --- a/chrome/browser/browser_child_process_host.cc +++ b/chrome/browser/browser_child_process_host.cc @@ -127,8 +127,8 @@ void BrowserChildProcessHost::ForceShutdown() { } void BrowserChildProcessHost::Notify(NotificationType type) { - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, new ChildNotificationTask(type, this)); + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, new ChildNotificationTask(type, this)); } bool BrowserChildProcessHost::DidChildCrash() { @@ -183,14 +183,14 @@ void BrowserChildProcessHost::ClientHook::OnProcessLaunched() { BrowserChildProcessHost::Iterator::Iterator() : all_(true), type_(UNKNOWN_PROCESS) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)) << + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)) << "ChildProcessInfo::Iterator must be used on the IO thread."; iterator_ = Singleton<ChildProcessList>::get()->begin(); } BrowserChildProcessHost::Iterator::Iterator(ProcessType type) : all_(false), type_(type) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)) << + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)) << "ChildProcessInfo::Iterator must be used on the IO thread."; iterator_ = Singleton<ChildProcessList>::get()->begin(); if (!Done() && (*iterator_)->type() != type_) |