summaryrefslogtreecommitdiffstats
path: root/chrome/browser/device_orientation
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-09 03:54:00 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-09 03:54:00 +0000
commit2dc383ce26fed9d2964fd75c9364d76f678753a6 (patch)
treefff743f4e2fbb47ea9fc8f1b5d0805794cb45f24 /chrome/browser/device_orientation
parent94e840ab0edbcb8c0bfc092c72171423bad4b2f8 (diff)
downloadchromium_src-2dc383ce26fed9d2964fd75c9364d76f678753a6.zip
chromium_src-2dc383ce26fed9d2964fd75c9364d76f678753a6.tar.gz
chromium_src-2dc383ce26fed9d2964fd75c9364d76f678753a6.tar.bz2
Rename ChromeThread to BrowserThread Part9:
- Rename entries under debbuger, device_orientation, dom_ui. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3684001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/device_orientation')
-rw-r--r--chrome/browser/device_orientation/dispatcher_host.cc6
-rw-r--r--chrome/browser/device_orientation/provider.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/device_orientation/dispatcher_host.cc b/chrome/browser/device_orientation/dispatcher_host.cc
index 825f8d8..aba196d 100644
--- a/chrome/browser/device_orientation/dispatcher_host.cc
+++ b/chrome/browser/device_orientation/dispatcher_host.cc
@@ -80,7 +80,7 @@ void DispatcherHost::ObserverDelegate::OnOrientationUpdate(
bool DispatcherHost::OnMessageReceived(const IPC::Message& msg,
bool* msg_was_ok) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
bool handled = true;
IPC_BEGIN_MESSAGE_MAP_EX(DispatcherHost, msg, *msg_was_ok)
IPC_MESSAGE_HANDLER(ViewHostMsg_DeviceOrientation_StartUpdating,
@@ -93,7 +93,7 @@ bool DispatcherHost::OnMessageReceived(const IPC::Message& msg,
}
void DispatcherHost::OnStartUpdating(int render_view_id) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (!provider_)
provider_ = Provider::GetInstance();
@@ -104,7 +104,7 @@ void DispatcherHost::OnStartUpdating(int render_view_id) {
}
void DispatcherHost::OnStopUpdating(int render_view_id) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
observers_map_.erase(render_view_id);
}
diff --git a/chrome/browser/device_orientation/provider.cc b/chrome/browser/device_orientation/provider.cc
index 4091937..6b05cf9 100644
--- a/chrome/browser/device_orientation/provider.cc
+++ b/chrome/browser/device_orientation/provider.cc
@@ -18,7 +18,7 @@ namespace device_orientation {
Provider* Provider::GetInstance() {
if (!instance_) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
const ProviderImpl::DataFetcherFactory default_factories[] = {
#if defined(OS_MACOSX)
AccelerometerMac::Create,