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 59af129dd12f5df863d18ace425eed15484abba0..611cc580abad71c10d148a96c7e03766293c0bc9 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -187,6 +187,17 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady, |
int /* request_id */, |
int /* provider_id */) |
+IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_SetNavigationPreload, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ int /* handle_id */, |
+ std::string /* value */) |
+ |
+IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetNavigationPreload, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ int /* handle_id */) |
+ |
// Sends ExtendableMessageEvent to a service worker (renderer->browser). |
IPC_MESSAGE_CONTROL5( |
ServiceWorkerHostMsg_PostMessageToWorker, |
@@ -412,6 +423,18 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistrationForReady, |
content::ServiceWorkerRegistrationObjectInfo, |
content::ServiceWorkerVersionAttributes) |
+// Response to ServiceWorkerHostMsg_SetNavigationPreload. |
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidSetNavigationPreload, |
+ int /* thread_id */, |
+ int /* request_id */) |
+ |
+// Response to ServiceWorkerHostMsg_GetNavigationPreload. |
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetNavigationPreload, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ bool /* enabled */, |
+ std::string /* value */) |
+ |
// Sent when any kind of registration error occurs during a |
// RegisterServiceWorker handler above. |
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, |