| 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 8d8583d5c96f4a0453baff34c96736979588d5d3..98e5e5a00d72936140fb15dda5e0573bdc0c2a2e 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"
|
| @@ -100,6 +102,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.
|
|
|
| @@ -176,6 +181,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.
|
| @@ -350,6 +357,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 */,
|
|
|