| 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 4c6fb3e9d68be66ccf28e8c47ed9abcd085df789..e7ef84311930f0c20f13999ea4adaf32c20161d7 100644
|
| --- a/content/browser/geofencing/geofencing_dispatcher_host.h
|
| +++ b/content/browser/geofencing/geofencing_dispatcher_host.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
|
| #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
|
|
|
| +#include "content/common/geofencing_status.h"
|
| #include "content/public/browser/browser_message_filter.h"
|
|
|
| namespace blink {
|
| @@ -13,9 +14,11 @@ struct WebCircularGeofencingRegion;
|
|
|
| namespace content {
|
|
|
| +class BrowserContext;
|
| +
|
| class GeofencingDispatcherHost : public BrowserMessageFilter {
|
| public:
|
| - GeofencingDispatcherHost();
|
| + explicit GeofencingDispatcherHost(BrowserContext* browser_context);
|
|
|
| private:
|
| virtual ~GeofencingDispatcherHost();
|
| @@ -32,6 +35,16 @@ class GeofencingDispatcherHost : public BrowserMessageFilter {
|
| const std::string& region_id);
|
| void OnGetRegisteredRegions(int thread_id, int request_id);
|
|
|
| + void RegisterRegionCompleted(int thread_id,
|
| + int request_id,
|
| + GeofencingStatus result);
|
| + void UnregisterRegionCompleted(int thread_id,
|
| + int request_id,
|
| + GeofencingStatus result);
|
| +
|
| + BrowserContext* browser_context_;
|
| + base::WeakPtrFactory<GeofencingDispatcherHost> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcherHost);
|
| };
|
|
|
|
|