summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/device_data_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation/device_data_provider.h')
-rw-r--r--content/browser/geolocation/device_data_provider.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/content/browser/geolocation/device_data_provider.h b/content/browser/geolocation/device_data_provider.h
index 4918e30..431d706 100644
--- a/content/browser/geolocation/device_data_provider.h
+++ b/content/browser/geolocation/device_data_provider.h
@@ -92,7 +92,7 @@ template<typename DataType>
class DeviceDataProviderImplBase : public DeviceDataProviderImplBaseHack {
public:
DeviceDataProviderImplBase()
- : container_(NULL), client_loop_(MessageLoop::current()) {
+ : container_(NULL), client_loop_(base::MessageLoop::current()) {
DCHECK(client_loop_);
}
@@ -138,12 +138,10 @@ class DeviceDataProviderImplBase : public DeviceDataProviderImplBaseHack {
}
bool CalledOnClientThread() const {
- return MessageLoop::current() == this->client_loop_;
+ return base::MessageLoop::current() == this->client_loop_;
}
- MessageLoop* client_loop() const {
- return client_loop_;
- }
+ base::MessageLoop* client_loop() const { return client_loop_; }
private:
void NotifyListenersInClientLoop() {
@@ -162,7 +160,7 @@ class DeviceDataProviderImplBase : public DeviceDataProviderImplBaseHack {
// Reference to the client's message loop, all callbacks and access to
// the listeners_ member should happen in this context.
- MessageLoop* client_loop_;
+ base::MessageLoop* client_loop_;
ListenersSet listeners_;