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 32b20a0f5316ba2e9484236b01bae55266826b23..87d1c61b7bcf27abef0ae6e85e206c263e5b46b5 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -241,6 +241,10 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientInfoError, |
IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, |
int /* request_id */) |
+// Asks the browser to take over pages should belong to this worker. |
falken
2015/01/26 08:45:13
nit: comment is vague, the browser itself doesn't
xiang
2015/01/28 05:38:35
Done.
|
+IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, |
+ int /* request_id */) |
+ |
// CacheStorage operations in the browser. |
IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
int /* request_id */, |
@@ -435,6 +439,12 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, |
std::vector<int> /* new_routing_ids */) |
IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
int /* request_id */) |
+IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, |
+ int /* request_id */) |
+IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
+ int /* request_id */, |
+ blink::WebServiceWorkerError::ErrorType /* code */, |
+ base::string16 /* message */) |
// Sent via EmbeddedWorker as a response of GetClientDocuments. |
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |