summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/wifi_data_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation/wifi_data_provider.h')
-rw-r--r--content/browser/geolocation/wifi_data_provider.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/content/browser/geolocation/wifi_data_provider.h b/content/browser/geolocation/wifi_data_provider.h
index 207b3ff..98d2296 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_;