Index: content/browser/geolocation/wifi_data_provider.h |
diff --git a/content/browser/geolocation/wifi_data_provider.h b/content/browser/geolocation/wifi_data_provider.h |
index 207b3ffe594f28db2ee7ab37fea8739c45e9caf7..98d22963e9f7a074e4a254ca3d7194abacd716b6 100644 |
--- a/content/browser/geolocation/wifi_data_provider.h |
+++ b/content/browser/geolocation/wifi_data_provider.h |
@@ -19,8 +19,6 @@ |
namespace content { |
-class WifiDataProviderManager; |
- |
class CONTENT_EXPORT WifiDataProvider |
: public base::RefCountedThreadSafe<WifiDataProvider> { |
public: |
@@ -39,11 +37,7 @@ class CONTENT_EXPORT WifiDataProvider |
// obtain. |
virtual bool GetData(WifiData* data) = 0; |
- // Sets the container of this class, which is of type WifiDataProviderManager. |
- // This is required to pass as a parameter when calling a callback. |
- void SetContainer(WifiDataProviderManager* container); |
- |
- typedef base::Callback<void(WifiDataProviderManager*)> WifiDataUpdateCallback; |
+ typedef base::Closure WifiDataUpdateCallback; |
void AddCallback(WifiDataUpdateCallback* callback); |
@@ -68,8 +62,6 @@ class CONTENT_EXPORT WifiDataProvider |
private: |
void DoRunCallbacks(); |
- WifiDataProviderManager* container_; |
- |
// Reference to the client's message loop. All callbacks should happen in this |
// context. |
base::MessageLoop* client_loop_; |