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

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

Issue 894973003: ServiceWorker: Make "ready" fetches registration from browser process(2/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 10 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 806423a0640408dd273346e55ad74a46e9bdf0dc..806e670d19a4f9f3c37944210c35c1e993bb0ea6 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -141,6 +141,11 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration,
int /* provider_id */,
GURL /* document_url */)
+IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetReadyRegistration,
+ int /* thread_id */,
+ int /* request_id */,
+ int /* provider_id */)
+
// Sends a 'message' event to a service worker (renderer->browser).
IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_PostMessageToWorker,
int /* handle_id */,
@@ -340,6 +345,13 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistration,
content::ServiceWorkerRegistrationObjectInfo,
content::ServiceWorkerVersionAttributes)
+// Response to ServiceWorkerHostMsg_GetReadyRegistration.
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetReadyRegistration,
+ int /* thread_id */,
+ int /* request_id */,
+ content::ServiceWorkerRegistrationObjectInfo,
+ content::ServiceWorkerVersionAttributes)
+
// Sent when any kind of registration error occurs during a
// RegisterServiceWorker handler above.
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,

Powered by Google App Engine
This is Rietveld 408576698