| 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 31b5281b4457333db21882feb7c8b28340cf14c3..0acdfe9b756fb91b0ae46b6947342c67f6b0a647 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -219,6 +219,10 @@ IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished,
|
| int /* request_id */,
|
| bool /* accept_connection */)
|
|
|
| +// Responds to a Ping from the browser.
|
| +// Routed to the target ServiceWorkerVersion.
|
| +IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong)
|
| +
|
| // Asks the browser to retrieve documents controlled by the sender
|
| // ServiceWorker.
|
| IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientDocuments,
|
| @@ -461,6 +465,9 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError,
|
| blink::WebServiceWorkerError::ErrorType /* code */,
|
| base::string16 /* message */)
|
|
|
| +// Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response.
|
| +IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_Ping)
|
| +
|
| // Sent via EmbeddedWorker as a response of GetClientDocuments.
|
| IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
|
| int /* request_id */,
|
|
|