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 66024f8aa1fd4134966b73dcb21ba5a20c8ff44a..ef4e5e9ad122d39a6461f26b4d3769a3ea427f6b 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -138,7 +138,9 @@ IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
GURL /* scope */, |
GURL /* script_url */) |
-IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UpdateServiceWorker, |
+IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UpdateServiceWorker, |
+ int /* thread_id */, |
+ int /* request_id */, |
int /* provider_id */, |
int64 /* registration_id */) |
@@ -321,6 +323,11 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, |
content::ServiceWorkerRegistrationObjectInfo, |
content::ServiceWorkerVersionAttributes) |
+// Response to ServiceWorkerHostMsg_UpdateServiceWorker. |
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUpdated, |
+ int /* thread_id */, |
+ int /* request_id */) |
+ |
// Response to ServiceWorkerHostMsg_UnregisterServiceWorker. |
IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, |
int /* thread_id */, |
@@ -356,6 +363,14 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, |
blink::WebServiceWorkerError::ErrorType /* code */, |
base::string16 /* message */) |
+// Sent when any kind of update error occurs during a |
+// UpdateServiceWorker handler above. |
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerUpdateError, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ blink::WebServiceWorkerError::ErrorType /* code */, |
+ base::string16 /* message */) |
+ |
// Sent when any kind of registration error occurs during a |
// UnregisterServiceWorker handler above. |
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerUnregistrationError, |