summaryrefslogtreecommitdiffstats
path: root/chrome/browser/power_save_blocker_common.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 02:45:52 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 02:45:52 +0000
commitf8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8 (patch)
tree3bca9c7a2c36af1c29ae37e0668be3ee1849356a /chrome/browser/power_save_blocker_common.cc
parentad27b85ef15c7446744911b776a733842f8e9206 (diff)
downloadchromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.zip
chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.gz
chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.bz2
Rename ChromeThread to BrowserThread Part15:
- Rename entries in more 40 files under chrome/browser. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3704001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/power_save_blocker_common.cc')
-rw-r--r--chrome/browser/power_save_blocker_common.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/power_save_blocker_common.cc b/chrome/browser/power_save_blocker_common.cc
index 47efe55..44c8619 100644
--- a/chrome/browser/power_save_blocker_common.cc
+++ b/chrome/browser/power_save_blocker_common.cc
@@ -35,14 +35,14 @@ void PowerSaveBlocker::Disable() {
void PowerSaveBlocker::PostAdjustBlockCount(int delta) {
- ChromeThread::PostTask(
- ChromeThread::UI, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::UI, FROM_HERE,
NewRunnableFunction(&PowerSaveBlocker::AdjustBlockCount, delta));
}
// Called only from UI thread.
void PowerSaveBlocker::AdjustBlockCount(int delta) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
bool was_blocking = (blocker_count_ != 0);