| 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 2c40c232758c01460e31030bc3c993ebc20a8cad..a54b39090fab6f84820e433a47ee4a3a7a4d8c5e 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -257,6 +257,11 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting,
|
| IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients,
|
| int /* request_id */)
|
|
|
| +// Asks the browser to stash a message port, giving it a name.
|
| +IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_StashMessagePort,
|
| + int /* message_port_id */,
|
| + base::string16 /* name */)
|
| +
|
| //---------------------------------------------------------------------------
|
| // Messages sent from the browser to the child process.
|
| //
|
| @@ -439,3 +444,10 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError,
|
| IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
|
| int /* request_id */,
|
| content::ServiceWorkerClientInfo /* client */)
|
| +
|
| +// Sent via EmbeddedWorker to transfer a stashed message port to the worker.
|
| +IPC_MESSAGE_CONTROL3(
|
| + ServiceWorkerMsg_SendStashedMessagePorts,
|
| + std::vector<content::TransferredMessagePort> /* stashed_message_ports */,
|
| + std::vector<int> /* new_routing_ids */,
|
| + std::vector<base::string16> /* port_names */)
|
|
|