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 f9ebecce3fc02b51f4377e3b4d978b88ee2e39f1..08b576fc8b4d5d290cb58a86d9f0145df3ed36d7 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -204,6 +204,10 @@ IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PostMessageToDocument, |
base::string16 /* message */, |
std::vector<int> /* sent_message_port_ids */) |
+// Asks the browser to force this worker to become activated. |
+IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, |
+ int /* request_id */) |
+ |
// CacheStorage operations in the browser. |
IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
int /* request_id */, |
@@ -335,10 +339,11 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_UpdateFound, |
// Tells the child process to set the controller ServiceWorker for the given |
// provider. |
-IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetControllerServiceWorker, |
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_SetControllerServiceWorker, |
int /* thread_id */, |
int /* provider_id */, |
- content::ServiceWorkerObjectInfo) |
+ content::ServiceWorkerObjectInfo, |
+ bool /* should_notify_controllerchange */) |
// Sends a 'message' event to a client document (browser->renderer). |
IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_MessageToDocument, |
@@ -371,6 +376,8 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
base::string16 /* message */, |
std::vector<int> /* sent_message_port_ids */, |
std::vector<int> /* new_routing_ids */) |
+IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
+ int /* request_id */) |
// Sent via EmbeddedWorker as a response of GetClientDocuments. |
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |