diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 02:42:13 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 02:42:13 +0000 |
commit | 67e59fcdb660aef5c860f4a917f9bf4171ef4793 (patch) | |
tree | 05f7a0cbf5c771ab2e44ac35b0c727ff7bbdd88a /chrome/browser/task_manager | |
parent | be2b48889899a789acbc1b658a034a71e9b2f666 (diff) | |
download | chromium_src-67e59fcdb660aef5c860f4a917f9bf4171ef4793.zip chromium_src-67e59fcdb660aef5c860f4a917f9bf4171ef4793.tar.gz chromium_src-67e59fcdb660aef5c860f4a917f9bf4171ef4793.tar.bz2 |
Rename ChromeThread to BrowserThread Part3:
- Rename entries under task_manager, themes, views, web_applications,
web_resource, webdata and worker_host.
BUG=56926
TEST=trybots
Review URL: http://codereview.chromium.org/3579014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager')
-rw-r--r-- | chrome/browser/task_manager/task_manager.cc | 12 | ||||
-rw-r--r-- | chrome/browser/task_manager/task_manager_resource_providers.cc | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc index 34eac8b..4fa1e9d 100644 --- a/chrome/browser/task_manager/task_manager.cc +++ b/chrome/browser/task_manager/task_manager.cc @@ -495,8 +495,8 @@ void TaskManagerModel::StartUpdating() { // Register jobs notifications so we can compute network usage (it must be // done from the IO thread). - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod( this, &TaskManagerModel::RegisterForJobDoneNotifications)); @@ -518,8 +518,8 @@ void TaskManagerModel::StopUpdating() { } // Unregister jobs notification (must be done from the IO thread). - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod( this, &TaskManagerModel::UnregisterForJobDoneNotifications)); } @@ -844,8 +844,8 @@ void TaskManagerModel::OnBytesRead(URLRequestJob* job, const char* buf, // This happens in the IO thread, post it to the UI thread. int origin_child_id = chrome_browser_net::GetOriginProcessUniqueIDForRequest(job->request()); - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod( this, &TaskManagerModel::BytesRead, diff --git a/chrome/browser/task_manager/task_manager_resource_providers.cc b/chrome/browser/task_manager/task_manager_resource_providers.cc index 3ba38ce..2f606ba 100644 --- a/chrome/browser/task_manager/task_manager_resource_providers.cc +++ b/chrome/browser/task_manager/task_manager_resource_providers.cc @@ -391,8 +391,8 @@ void TaskManagerChildProcessResourceProvider::StartUpdating() { NotificationService::AllSources()); // Get the existing child processes. - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod( this, &TaskManagerChildProcessResourceProvider::RetrieveChildProcessInfo)); @@ -496,8 +496,8 @@ void TaskManagerChildProcessResourceProvider::RetrieveChildProcessInfo() { } // Now notify the UI thread that we have retrieved information about child // processes. - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod(this, &TaskManagerChildProcessResourceProvider::ChildProcessInfoRetreived)); } |