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

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

Issue 517493002: ServiceWorker: Update the install sequence as per the latest spec (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments and update tests Created 6 years, 4 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 1362f0952c58bab981f37ac96ede5b0e1463d898..54b1f8014567dbecd21a97853f1a4a89f0fc71c7 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -185,10 +185,11 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys,
// on the correct thread.
// Response to ServiceWorkerMsg_RegisterServiceWorker.
-IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered,
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered,
int /* thread_id */,
int /* request_id */,
- content::ServiceWorkerRegistrationObjectInfo)
+ content::ServiceWorkerRegistrationObjectInfo,
+ content::ServiceWorkerVersionAttributes)
// Response to ServiceWorkerMsg_UnregisterServiceWorker.
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered,
@@ -217,6 +218,12 @@ IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_SetVersionAttributes,
int /* changed_mask */,
content::ServiceWorkerVersionAttributes)
+// Informs the child process that new ServiceWorker enters the installation
+// process.
nasko 2014/08/29 21:17:37 nit: s/process/phase/? process is already used for
nhiroki 2014/09/01 03:46:41 Good point. I meant the latter. Replaced 'process'
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_UpdateFound,
+ int /* thread_id */,
+ content::ServiceWorkerRegistrationObjectInfo)
+
// 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