| 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 2bd68cddea784fac88f71b022b2be7ca5cd31089..0613d6b55743a855f57fdfdf47c9cf637b47844c 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -55,6 +55,11 @@ IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType,
|
| IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchType,
|
| content::ServiceWorkerFetchType::LAST)
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(content::ExtendableMessageEventSource)
|
| + IPC_STRUCT_TRAITS_MEMBER(client_info)
|
| + IPC_STRUCT_TRAITS_MEMBER(service_worker_info)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest)
|
| IPC_STRUCT_TRAITS_MEMBER(mode)
|
| IPC_STRUCT_TRAITS_MEMBER(is_main_resource_load)
|
| @@ -183,9 +188,10 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady,
|
| int /* provider_id */)
|
|
|
| // Sends ExtendableMessageEvent to a service worker (renderer->browser).
|
| -IPC_MESSAGE_CONTROL3(
|
| +IPC_MESSAGE_CONTROL4(
|
| ServiceWorkerHostMsg_PostMessageToWorker,
|
| int /* handle_id */,
|
| + int /* provider_id */,
|
| base::string16 /* message */,
|
| std::vector<content::TransferredMessagePort> /* sent_message_ports */)
|
|
|
| @@ -467,12 +473,13 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
|
| int /* request_id */)
|
| IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
|
| int /* request_id */)
|
| -IPC_MESSAGE_CONTROL4(
|
| +IPC_MESSAGE_CONTROL5(
|
| ServiceWorkerMsg_ExtendableMessageEvent,
|
| int /* request_id */,
|
| base::string16 /* message */,
|
| std::vector<content::TransferredMessagePort> /* sent_message_ports */,
|
| - std::vector<int> /* new_routing_ids */)
|
| + std::vector<int> /* new_routing_ids */,
|
| + content::ExtendableMessageEventSource)
|
| IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
|
| int /* request_id */,
|
| content::ServiceWorkerFetchRequest)
|
|
|