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

Unified Diff: content/browser/geofencing/geofencing_dispatcher_host.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
« no previous file with comments | « no previous file | content/browser/geofencing/geofencing_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geofencing/geofencing_dispatcher_host.h
diff --git a/content/browser/geofencing/geofencing_dispatcher_host.h b/content/browser/geofencing/geofencing_dispatcher_host.h
index 16bc2b4b5227abf2e9ba989c3cc89903218410a4..40ed3a8487b52c7735a57d4460978d99440c49a9 100644
--- a/content/browser/geofencing/geofencing_dispatcher_host.h
+++ b/content/browser/geofencing/geofencing_dispatcher_host.h
@@ -15,6 +15,7 @@ struct WebCircularGeofencingRegion;
namespace content {
class GeofencingManager;
+class ServiceWorkerContextWrapper;
class GeofencingDispatcherHost : public BrowserMessageFilter {
public:
@@ -29,11 +30,15 @@ class GeofencingDispatcherHost : public BrowserMessageFilter {
void OnRegisterRegion(int thread_id,
int request_id,
const std::string& region_id,
- const blink::WebCircularGeofencingRegion& region);
+ const blink::WebCircularGeofencingRegion& region,
+ int64 service_worker_registration_id);
void OnUnregisterRegion(int thread_id,
int request_id,
- const std::string& region_id);
- void OnGetRegisteredRegions(int thread_id, int request_id);
+ const std::string& region_id,
+ int64 service_worker_registration_id);
+ void OnGetRegisteredRegions(int thread_id,
+ int request_id,
+ int64 service_worker_registration_id);
void RegisterRegionCompleted(int thread_id,
int request_id,
« no previous file with comments | « no previous file | content/browser/geofencing/geofencing_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698