| 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 476f39a2939ae859b6ea587638b4dfe22d82e8da..0769ad73cb1138be7315ba366f367ade957ca44f 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -108,6 +108,11 @@ IPC_ENUM_TRAITS_MAX_VALUE(
|
| IPC_ENUM_TRAITS_MAX_VALUE(blink::WebGeofencingEventType,
|
| blink::WebGeofencingEventTypeLast)
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(content::CrossOriginServiceWorkerClient)
|
| +IPC_STRUCT_TRAITS_MEMBER(target_url)
|
| +IPC_STRUCT_TRAITS_MEMBER(message_port_id)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| //---------------------------------------------------------------------------
|
| // Messages sent from the child process to the browser.
|
|
|
| @@ -435,3 +440,28 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
|
| IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
|
| int /* request_id */,
|
| blink::WebServiceWorkerCacheError)
|
| +
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_NavigatorConnect,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + GURL /* target_url */,
|
| + int /* message_port_id */)
|
| +
|
| +IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NavigatorConnectResult,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + bool /* allow_connect */)
|
| +
|
| +IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CrossOriginConnectEvent,
|
| + int /* request_id */,
|
| + content::CrossOriginServiceWorkerClient /* client */)
|
| +
|
| +IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished,
|
| + int /* request_id */,
|
| + bool /* allow_connect */)
|
| +
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker,
|
| + content::CrossOriginServiceWorkerClient /* client */,
|
| + base::string16 /* message */,
|
| + std::vector<int> /* sent_message_port_ids */,
|
| + std::vector<int> /* new_routing_ids */)
|
|
|