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

Unified Diff: content/child/geofencing/geofencing_dispatcher.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/geofencing_dispatcher.h
diff --git a/content/child/geofencing/geofencing_dispatcher.h b/content/child/geofencing/geofencing_dispatcher.h
index fc3988ef6834aeccfe3b99a815503a5103337217..57a2a437b5da9d3c40340f3ec102de8f6c38d2f8 100644
--- a/content/child/geofencing/geofencing_dispatcher.h
+++ b/content/child/geofencing/geofencing_dispatcher.h
@@ -33,12 +33,18 @@ class GeofencingDispatcher : public WorkerTaskRunner::Observer {
void OnMessageReceived(const IPC::Message& msg);
// Corresponding to WebGeofencingProvider methods.
- void RegisterRegion(const blink::WebString& region_id,
- const blink::WebCircularGeofencingRegion& region,
- blink::WebGeofencingCallbacks* callbacks);
- void UnregisterRegion(const blink::WebString& region_id,
- blink::WebGeofencingCallbacks* callbacks);
- void GetRegisteredRegions(blink::WebGeofencingRegionsCallbacks* callbacks);
+ void RegisterRegion(
+ const blink::WebString& region_id,
+ const blink::WebCircularGeofencingRegion& region,
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ blink::WebGeofencingCallbacks* callbacks);
+ void UnregisterRegion(
+ const blink::WebString& region_id,
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ blink::WebGeofencingCallbacks* callbacks);
+ void GetRegisteredRegions(
+ blink::WebServiceWorkerRegistration* service_worker_registration,
+ blink::WebGeofencingRegionsCallbacks* callbacks);
// |thread_safe_sender| needs to be passed in because if the call leads to
// construction it will be needed.

Powered by Google App Engine
This is Rietveld 408576698