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/background_mode_manager.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/background_mode_manager.cc')
-rw-r--r-- | chrome/browser/background_mode_manager.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/background_mode_manager.cc b/chrome/browser/background_mode_manager.cc index 3a5f293..64a5023 100644 --- a/chrome/browser/background_mode_manager.cc +++ b/chrome/browser/background_mode_manager.cc @@ -64,7 +64,7 @@ const wchar_t* kBackgroundModeRegistryKeyName = L"chromium"; namespace { FilePath GetAutostartDirectory(base::Environment* environment) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); FilePath result = base::GetXDGDirectory(environment, kXdgConfigHome, kConfig); result = result.Append(kAutostart); @@ -339,11 +339,11 @@ void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) { return; #if defined(OS_LINUX) if (should_launch) - ChromeThread::PostTask(ChromeThread::FILE, FROM_HERE, - new EnableLaunchOnStartupTask()); + BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, + new EnableLaunchOnStartupTask()); else - ChromeThread::PostTask(ChromeThread::FILE, FROM_HERE, - new DisableLaunchOnStartupTask()); + BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, + new DisableLaunchOnStartupTask()); #elif defined(OS_MACOSX) if (should_launch) { // Return if Chrome is already a Login Item (avoid overriding user choice). |