Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: content/child/geofencing/web_geofencing_provider_impl.h

Issue 701953007: Expose mock geofencing service via testRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f1c75062f99832fe3e1631c527a9b404dc39dbc3 100644
--- a/content/child/geofencing/web_geofencing_provider_impl.h
+++ b/content/child/geofencing/web_geofencing_provider_impl.h
@@ -34,6 +34,15 @@ class WebGeofencingProviderImpl
blink::WebServiceWorkerRegistration* service_worker_registration,
blink::WebGeofencingRegionsCallbacks* callbacks);
+ virtual void setMockProvider(
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ bool service_available);
+ virtual void clearMockProvider(blink::WebServiceWorkerRegistration*);
+ virtual void setMockPosition(
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ double latitude,
+ double longitude);
+
GeofencingDispatcher* GetDispatcher();
scoped_refptr<ThreadSafeSender> thread_safe_sender_;

Powered by Google App Engine
This is Rietveld 408576698