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..35f22b34c6ea781f1e7ca4aa74f36d210e926bb2 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -241,6 +241,11 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientInfoError, |
IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, |
int /* request_id */) |
+// Asks the browser to have this worker take control of pages that match |
+// its scope. |
+IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, |
+ int /* request_id */) |
+ |
// CacheStorage operations in the browser. |
IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
int /* request_id */, |
@@ -435,6 +440,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, |