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

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

Issue 477593007: ServiceWorker: Make '.ready' return a promise to be resolved with ServiceWorkerRegistration (2/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 42943e5ecf52f6c94fb66b362f9d6efeadaaeeb3..71a2b90ab8338f4e49ea892bd7bd4f27a5375725 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -184,6 +184,16 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys,
// extract it and dispatch the message to the correct ServiceWorkerDispatcher
// on the correct thread.
+// Informs the child process that the given provider gets associated or
+// unassociated with the registration.
+IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_AssociateRegistration,
+ int /* thread_id */,
+ int /* provider_id */,
+ content::ServiceWorkerRegistrationObjectInfo)
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_UnassociateRegistration,
+ int /* thread_id */,
+ int /* provider_id */)
+
// Response to ServiceWorkerMsg_RegisterServiceWorker.
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered,
int /* thread_id */,

Powered by Google App Engine
This is Rietveld 408576698