| Index: content/child/geofencing/geofencing_dispatcher.h
|
| diff --git a/content/child/geofencing/geofencing_dispatcher.h b/content/child/geofencing/geofencing_dispatcher.h
|
| index 57a2a437b5da9d3c40340f3ec102de8f6c38d2f8..f872697eddbf3f166a10e8cc1170d52fb6dcc40c 100644
|
| --- a/content/child/geofencing/geofencing_dispatcher.h
|
| +++ b/content/child/geofencing/geofencing_dispatcher.h
|
| @@ -9,7 +9,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "content/child/worker_task_runner.h"
|
| -#include "content/common/geofencing_status.h"
|
| +#include "content/common/geofencing_types.h"
|
| #include "third_party/WebKit/public/platform/WebGeofencingProvider.h"
|
|
|
| namespace base {
|
| @@ -45,6 +45,15 @@ class GeofencingDispatcher : public WorkerTaskRunner::Observer {
|
| void GetRegisteredRegions(
|
| blink::WebServiceWorkerRegistration* service_worker_registration,
|
| blink::WebGeofencingRegionsCallbacks* callbacks);
|
| + void SetMockProvider(
|
| + blink::WebServiceWorkerRegistration* service_worker_registration,
|
| + bool service_available);
|
| + void ClearMockProvider(
|
| + blink::WebServiceWorkerRegistration* service_worker_registration);
|
| + void SetMockPosition(
|
| + blink::WebServiceWorkerRegistration* service_worker_registration,
|
| + double latitude,
|
| + double longitude);
|
|
|
| // |thread_safe_sender| needs to be passed in because if the call leads to
|
| // construction it will be needed.
|
|
|