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_shutdown.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_shutdown.cc')
-rw-r--r-- | chrome/browser/browser_shutdown.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc index 7f2e4a6..bee0d0c 100644 --- a/chrome/browser/browser_shutdown.cc +++ b/chrome/browser/browser_shutdown.cc @@ -100,8 +100,8 @@ FilePath GetShutdownMsPath() { void Shutdown() { // Unload plugins. This needs to happen on the IO thread. - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableFunction(&ChromePluginLib::UnloadAllPlugins)); // Shutdown all IPC channels to service processes. @@ -229,7 +229,7 @@ void ReadLastShutdownFile( ShutdownType type, int num_procs, int num_procs_slow) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); FilePath shutdown_ms_file = GetShutdownMsPath(); std::string shutdown_ms_str; @@ -282,8 +282,8 @@ void ReadLastShutdownInfo() { prefs->SetInteger(prefs::kShutdownNumProcessesSlow, 0); // Read and delete the file on the file thread. - ChromeThread::PostTask( - ChromeThread::FILE, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::FILE, FROM_HERE, NewRunnableFunction( &ReadLastShutdownFile, type, num_procs, num_procs_slow)); } |