Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: content/common/service_worker/service_worker_messages.h

Issue 2388023002: service worker: navigation preload basic setters/getters and flag
Patch Set: idl Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « content/child/service_worker/web_service_worker_impl.cc ('k') | third_party/WebKit/Source/modules/modules_idl_files.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698