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

Unified Diff: content/common/geofencing_messages.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/common/geofencing_messages.h
diff --git a/content/common/geofencing_messages.h b/content/common/geofencing_messages.h
index 5012be34047edf19ad495ec0b2c34421979226cc..152b108e0dcd301c2bd5da62de6636611b9e0055 100644
--- a/content/common/geofencing_messages.h
+++ b/content/common/geofencing_messages.h
@@ -30,20 +30,23 @@ IPC_STRUCT_TRAITS_BEGIN(blink::WebCircularGeofencingRegion)
IPC_STRUCT_TRAITS_END()
// Messages sent from the child process to the browser.
-IPC_MESSAGE_CONTROL4(GeofencingHostMsg_RegisterRegion,
+IPC_MESSAGE_CONTROL5(GeofencingHostMsg_RegisterRegion,
int /* thread_id */,
int /* request_id */,
std::string /* region_id */,
- blink::WebCircularGeofencingRegion /* region */)
+ blink::WebCircularGeofencingRegion /* region */,
+ int64 /* serviceworker_registration_id */)
-IPC_MESSAGE_CONTROL3(GeofencingHostMsg_UnregisterRegion,
+IPC_MESSAGE_CONTROL4(GeofencingHostMsg_UnregisterRegion,
int /* thread_id */,
int /* request_id */,
- std::string /* region_id */)
+ std::string /* region_id */,
+ int64 /* serviceworker_registration_id */)
-IPC_MESSAGE_CONTROL2(GeofencingHostMsg_GetRegisteredRegions,
+IPC_MESSAGE_CONTROL3(GeofencingHostMsg_GetRegisteredRegions,
int /* thread_id */,
- int /* request_id */)
+ int /* request_id */,
+ int64 /* serviceworker_registration_id */)
// Messages sent from the browser to the child process.

Powered by Google App Engine
This is Rietveld 408576698