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 715dac89b022c6283fb750f3a729282d801a6ab3..ed63a600b11d649bf855d53f78d656e7e5d1b95d 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -57,6 +57,11 @@ IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) |
IPC_STRUCT_TRAITS_MEMBER(state) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) |
+ IPC_STRUCT_TRAITS_MEMBER(handle_id) |
+ IPC_STRUCT_TRAITS_MEMBER(scope) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) |
IPC_STRUCT_TRAITS_MEMBER(installing) |
IPC_STRUCT_TRAITS_MEMBER(waiting) |
@@ -102,17 +107,17 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed, |
// counting in the browser side. The ServiceWorker object is created |
// with ref-count==1 initially. |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementServiceWorkerRefCount, |
- int /* registration_handle_id */) |
+ int /* handle_id */) |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementServiceWorkerRefCount, |
- int /* registration_handle_id */) |
+ int /* handle_id */) |
// Increments and decrements the ServiceWorkerRegistration object's reference |
// counting in the browser side. The registration object is created with |
// ref-count==1 initially. |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementRegistrationRefCount, |
- int /* handle_id */) |
+ int /* registration_handle_id */) |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, |
- int /* handle_id */) |
+ int /* registration_handle_id */) |
// Informs the browser that |provider_id| is associated |
// with a service worker script running context and |
@@ -178,11 +183,10 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys, |
// on the correct thread. |
// Response to ServiceWorkerMsg_RegisterServiceWorker. |
-IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, |
+IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered, |
int /* thread_id */, |
int /* request_id */, |
- int /* registration_handle_id */, |
- content::ServiceWorkerObjectInfo) |
+ content::ServiceWorkerRegistrationObjectInfo) |
// Response to ServiceWorkerMsg_UnregisterServiceWorker. |
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered, |