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

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

Issue 623823002: Chrome side of passing on the service worker registration with geofencing API calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months 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 a1dd7445d0dd4c47478734869529529ef4dfadf3..9aac7951731d80ca68f90461d43f116c78e32616 100644
--- a/content/child/geofencing/web_geofencing_provider_impl.h
+++ b/content/child/geofencing/web_geofencing_provider_impl.h
@@ -21,12 +21,17 @@ class WebGeofencingProviderImpl
private:
// WebGeofencingProvider implementation.
- virtual void registerRegion(const blink::WebString& regionId,
- const blink::WebCircularGeofencingRegion& region,
- blink::WebGeofencingCallbacks* callbacks);
- virtual void unregisterRegion(const blink::WebString& regionId,
- blink::WebGeofencingCallbacks* callbacks);
+ virtual void registerRegion(
+ const blink::WebString& regionId,
+ const blink::WebCircularGeofencingRegion& region,
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ blink::WebGeofencingCallbacks* callbacks);
+ virtual void unregisterRegion(
+ const blink::WebString& regionId,
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ blink::WebGeofencingCallbacks* callbacks);
virtual void getRegisteredRegions(
+ blink::WebServiceWorkerRegistration* service_worker_registration,
blink::WebGeofencingRegionsCallbacks* callbacks);
GeofencingDispatcher* GetDispatcher();
« no previous file with comments | « content/child/geofencing/geofencing_dispatcher.cc ('k') | content/child/geofencing/web_geofencing_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698