Chromium Code Reviews| 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 959b3f163a90712a91ebadf907f2f48317c7e39e..ee5ae4cb5cbc7e1642e52ea7ae31d6dbdad51ae0 100644 |
| --- a/content/common/service_worker/service_worker_messages.h |
| +++ b/content/common/service_worker/service_worker_messages.h |
| @@ -255,6 +255,11 @@ IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, |
| // Routed to the target ServiceWorkerVersion. |
| IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
| +// Asks the browser to retrieve client of the sender ServiceWorker. |
| +IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient, |
| + int /* request_id */, |
| + std::string) |
|
nhiroki
2016/02/03 09:39:59
/* client_uuid */
jungkees
2016/02/03 14:15:07
Addressed. Thanks!
|
| + |
| // Asks the browser to retrieve clients of the sender ServiceWorker. |
| IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClients, |
| int /* request_id */, |
| @@ -480,6 +485,11 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
| // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. |
| IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_Ping) |
| +// Sent via EmbeddedWorker as a response of GetClient. |
| +IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClient, |
| + int /* request_id */, |
| + content::ServiceWorkerClientInfo) |
| + |
| // Sent via EmbeddedWorker as a response of GetClients. |
| IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClients, |
| int /* request_id */, |