Index: content/browser/geofencing/geofencing_dispatcher_host.h |
diff --git a/content/browser/geofencing/geofencing_dispatcher_host.h b/content/browser/geofencing/geofencing_dispatcher_host.h |
index 86858b8b737d3fffa7cc73c9a6701e24afda30f4..16bc2b4b5227abf2e9ba989c3cc89903218410a4 100644 |
--- a/content/browser/geofencing/geofencing_dispatcher_host.h |
+++ b/content/browser/geofencing/geofencing_dispatcher_host.h |
@@ -14,11 +14,11 @@ struct WebCircularGeofencingRegion; |
namespace content { |
-class BrowserContext; |
+class GeofencingManager; |
class GeofencingDispatcherHost : public BrowserMessageFilter { |
public: |
- explicit GeofencingDispatcherHost(BrowserContext* browser_context); |
+ explicit GeofencingDispatcherHost(GeofencingManager* geofencing_manager); |
private: |
~GeofencingDispatcherHost() override; |
@@ -42,7 +42,7 @@ class GeofencingDispatcherHost : public BrowserMessageFilter { |
int request_id, |
GeofencingStatus result); |
- BrowserContext* browser_context_; |
+ scoped_refptr<GeofencingManager> manager_; |
base::WeakPtrFactory<GeofencingDispatcherHost> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcherHost); |