Index: content/browser/geolocation/device_data_provider.h |
diff --git a/content/browser/geolocation/device_data_provider.h b/content/browser/geolocation/device_data_provider.h |
index 4918e303d4c6ec5703e2890e66b58b51b60c8f01..431d7066c5cbcef84a9eefdbcd271fd967453b5f 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_; |