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

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: 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 5784e4e48b83f7e553c11154e14313f9d5036fce..87e416e65654f85dc8ccdd468c026ad92080d9eb 100644
--- a/content/child/geofencing/geofencing_dispatcher.h
+++ b/content/child/geofencing/geofencing_dispatcher.h
@@ -35,10 +35,13 @@ class GeofencingDispatcher : public WorkerTaskRunner::Observer {
// Corresponding to WebGeofencingProvider methods.
void RegisterRegion(const blink::WebString& region_id,
const blink::WebCircularGeofencingRegion& region,
+ blink::WebServiceWorkerRegistration* serviceworker,
Michael van Ouwerkerk 2014/10/09 12:28:10 Let's call it service_worker_registration, here an
Marijn Kruisselbrink 2014/10/13 19:29:48 Done.
blink::WebGeofencingCallbacks* callbacks);
void UnregisterRegion(const blink::WebString& region_id,
+ blink::WebServiceWorkerRegistration* serviceworker,
blink::WebGeofencingCallbacks* callbacks);
- void GetRegisteredRegions(blink::WebGeofencingRegionsCallbacks* callbacks);
+ void GetRegisteredRegions(blink::WebServiceWorkerRegistration* serviceworker,
+ 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