| 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 696bac747aa3fe707440a5051328ed37385994bd..0b858c9a37f0c8aeda5b32e24a3fc42fa5b3bb30 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -187,6 +187,14 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady,
|
| int /* request_id */,
|
| int /* provider_id */)
|
|
|
| +// Asks the browser to enable/disable navigation preload for a registration.
|
| +IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_EnableNavigationPreload,
|
| + int /* thread_id */,
|
| + int /* request_id */,
|
| + int /* provider_id */,
|
| + int64_t /* registration_id */,
|
| + bool /* enable */)
|
| +
|
| // Sends ExtendableMessageEvent to a service worker (renderer->browser).
|
| IPC_MESSAGE_CONTROL5(
|
| ServiceWorkerHostMsg_PostMessageToWorker,
|
| @@ -475,6 +483,15 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_SetControllerServiceWorker,
|
| content::ServiceWorkerObjectInfo,
|
| bool /* should_notify_controllerchange */)
|
|
|
| +IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidEnableNavigationPreload,
|
| + int /* thread_id */,
|
| + int /* request_id */)
|
| +IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_EnableNavigationPreloadError,
|
| + 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,
|
| ServiceWorkerMsg_MessageToDocument_Params)
|
|
|