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

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

Issue 354643003: ServiceWorker: Support navigator.serviceWorker.active (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 a0d036c368342857f400319a57be37898ce1647e..c5eae1889383eb2d9d6a14e4dec4afa08d4d6018 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -172,6 +172,13 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetWaitingServiceWorker,
int /* provider_id */,
content::ServiceWorkerObjectInfo)
+// Tells the child process to set the active ServiceWorker for the given
+// provider.
+IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetActiveServiceWorker,
+ int /* thread_id */,
+ int /* provider_id */,
+ content::ServiceWorkerObjectInfo)
+
// Tells the child process to set the controller ServiceWorker for the given
// provider.
IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetControllerServiceWorker,

Powered by Google App Engine
This is Rietveld 408576698