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

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: rebase Created 5 years, 9 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
« no previous file with comments | « content/child/service_worker/web_service_worker_provider_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 618c3c68370276b2f7ef71a81ce7ff7b789bf966..cd9bfd56e02de69dffa8e870e82756c500b481f1 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -153,6 +153,11 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration,
int /* provider_id */,
GURL /* document_url */)
+IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady,
+ int /* thread_id */,
+ int /* request_id */,
+ int /* provider_id */)
+
// Sends a 'message' event to a service worker (renderer->browser).
IPC_MESSAGE_CONTROL3(
ServiceWorkerHostMsg_PostMessageToWorker,
@@ -372,6 +377,13 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistration,
content::ServiceWorkerRegistrationObjectInfo,
content::ServiceWorkerVersionAttributes)
+// Response to ServiceWorkerHostMsg_GetRegistrationForReady.
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistrationForReady,
+ 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,
« no previous file with comments | « content/child/service_worker/web_service_worker_provider_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698