| 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 0b858c9a37f0c8aeda5b32e24a3fc42fa5b3bb30..cf1887932bdada354677ebd92aaa9728c6663e89 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -195,6 +195,13 @@ IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_EnableNavigationPreload,
|
| int64_t /* registration_id */,
|
| bool /* enable */)
|
|
|
| +// Asks the browser to get navigation preload state for a registration.
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetNavigationPreloadState,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + int /* provider_id */,
|
| + int64_t /* registration_id */)
|
| +
|
| // Sends ExtendableMessageEvent to a service worker (renderer->browser).
|
| IPC_MESSAGE_CONTROL5(
|
| ServiceWorkerHostMsg_PostMessageToWorker,
|
| @@ -491,6 +498,15 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_EnableNavigationPreloadError,
|
| int /* request_id */,
|
| blink::WebServiceWorkerError::ErrorType /* code */,
|
| std::string /* message */)
|
| +IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_DidGetNavigationPreloadState,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + bool /* enabled */)
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GetNavigationPreloadStateError,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + blink::WebServiceWorkerError::ErrorType /* code */,
|
| + std::string /* message */)
|
|
|
| // Sends MessageEvent to a client document (browser->renderer).
|
| IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument,
|
|
|