| 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 42943e5ecf52f6c94fb66b362f9d6efeadaaeeb3..df9723ac7a36ef6320b34506d9520b858f63b1cf 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -90,6 +90,12 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker,
|
| int /* provider_id */,
|
| GURL /* scope (url pattern) */)
|
|
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + int /* provider_id */,
|
| + GURL /* document_url */)
|
| +
|
| // Sends a 'message' event to a service worker (renderer->browser).
|
| IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_PostMessageToWorker,
|
| int /* handle_id */,
|
| @@ -196,8 +202,16 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered,
|
| int /* thread_id */,
|
| int /* request_id */)
|
|
|
| +// Response to ServiceWorkerHostMsg_GetRegistration.
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistration,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + content::ServiceWorkerRegistrationObjectInfo,
|
| + content::ServiceWorkerVersionAttributes)
|
| +
|
| // Sent when any kind of registration error occurs during a
|
| -// RegisterServiceWorker / UnregisterServiceWorker handler above.
|
| +// RegisterServiceWorker / UnregisterServiceWorker / GetRegistration
|
| +// handler above.
|
| IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,
|
| int /* thread_id */,
|
| int /* request_id */,
|
|
|