| Index: content/child/geofencing/web_geofencing_provider_impl.h
|
| diff --git a/content/child/geofencing/web_geofencing_provider_impl.h b/content/child/geofencing/web_geofencing_provider_impl.h
|
| index 9aac7951731d80ca68f90461d43f116c78e32616..f10981885ea024ed6f8bc9935b4ff9793e24b298 100644
|
| --- a/content/child/geofencing/web_geofencing_provider_impl.h
|
| +++ b/content/child/geofencing/web_geofencing_provider_impl.h
|
| @@ -7,18 +7,27 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "content/common/content_export.h"
|
| #include "third_party/WebKit/public/platform/WebGeofencingProvider.h"
|
|
|
| namespace content {
|
| class GeofencingDispatcher;
|
| class ThreadSafeSender;
|
|
|
| -class WebGeofencingProviderImpl
|
| +class CONTENT_EXPORT WebGeofencingProviderImpl
|
| : NON_EXPORTED_BASE(public blink::WebGeofencingProvider) {
|
| public:
|
| explicit WebGeofencingProviderImpl(ThreadSafeSender* thread_safe_sender);
|
| virtual ~WebGeofencingProviderImpl();
|
|
|
| + // Enables mock geofencing service. |service_available| indicates if the
|
| + // mock service should mock geofencing being available or not.
|
| + void SetMockProvider(bool service_available);
|
| + // Disables mock geofencing service.
|
| + void ClearMockProvider();
|
| + // Set the mock geofencing position.
|
| + void SetMockPosition(double latitude, double longitude);
|
| +
|
| private:
|
| // WebGeofencingProvider implementation.
|
| virtual void registerRegion(
|
|
|