Index: content/common/service_worker/service_worker_messages.h |
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h |
index 6b7b09047b2eadd3e705c983c08f0612f4829526..f6671319138dae8f39e2e849fe7b1655f7063a07 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -12,6 +12,8 @@ |
#include "content/common/service_worker/service_worker_types.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_param_traits.h" |
+#include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" |
+#include "third_party/WebKit/public/platform/WebGeofencingEventType.h" |
#include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" |
#include "third_party/WebKit/public/platform/WebServiceWorkerError.h" |
#include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" |
@@ -101,6 +103,9 @@ IPC_ENUM_TRAITS_MAX_VALUE( |
blink::WebServiceWorkerCacheError, |
blink::WebServiceWorkerCacheErrorLast) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebGeofencingEventType, |
+ blink::WebGeofencingEventTypeLast) |
+ |
//--------------------------------------------------------------------------- |
// Messages sent from the child process to the browser. |
@@ -177,6 +182,8 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SyncEventFinished, |
int /* request_id */) |
IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_PushEventFinished, |
int /* request_id */) |
+IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
+ int /* request_id */) |
// Asks the browser to retrieve documents controlled by the sender |
// ServiceWorker. |
@@ -347,6 +354,11 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, |
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
int /* request_id */, |
std::string /* data */) |
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
+ int /* request_id */, |
+ blink::WebGeofencingEventType /* event_type */, |
+ std::string /* region_id */, |
+ blink::WebCircularGeofencingRegion /* region */) |
IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
base::string16 /* message */, |
std::vector<int> /* sent_message_port_ids */, |