Index: content/common/service_worker_messages.h |
diff --git a/content/common/service_worker_messages.h b/content/common/service_worker_messages.h |
index 0f1dd4bdb1dafd6977e02dd296c6f913dc7dd66d..fa46c8512a0019fb350391d4dc868474ba2d0eff 100644 |
--- a/content/common/service_worker_messages.h |
+++ b/content/common/service_worker_messages.h |
@@ -13,21 +13,29 @@ |
// Messages sent from the child process to the browser. |
-IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_RegisterServiceWorker, |
+IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
+ int32 /* thread_id */, |
int32 /* callback_id */, |
michaeln
2013/10/08 23:08:38
Lets use names consistently across msg structs and
alecflett
2013/10/09 01:23:47
oops, I'll clean up.
|
+ GURL /* security_origin */, |
string16 /* scope */, |
GURL /* script_url */) |
-IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UnregisterServiceWorker, |
+IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, |
+ int32 /* thread_id */, |
int32 /* callback_id */, |
+ GURL /* security_origin */, |
string16 /* scope (url pattern) */) |
// Messages sent from the browser to the child process. |
// Response to ServiceWorkerMsg_RegisterServiceWorker |
-IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ServiceWorkerRegistered, |
- int32 /* callback_id */) |
+IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered, |
michaeln
2013/10/08 23:08:38
Shouldn't these response messages convey success o
alecflett
2013/10/09 01:23:47
My plan was to make a separate message for the err
|
+ int32 /* thread_id */, |
+ int32 /* callback_id */, |
+ int32 /* service_worker_id */) |
michaeln
2013/10/08 23:08:38
can this id be an int64 value to make the distinct
alecflett
2013/10/09 01:23:47
oh, I wasn't imagining that these were persistent
|
// Response to ServiceWorkerMsg_UnregisterServiceWorker |
-IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ServiceWorkerUnregistered, |
- int32 /* callback_id */) |
+IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, |
+ int32 /* thread_id */, |
+ int32 /* callback_id */, |
+ int32 /* service_worker_id */) |
michaeln
2013/10/08 23:08:38
i still don't think we need service_worker_id here
alecflett
2013/10/09 01:23:47
(Again, separate error message)
|