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 0081d9788b511817add5ab25dce51be28d593be2..fbaca833575b3f302432b8f5eaf86417e8d162fc 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -84,6 +84,16 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderCreated, |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed, |
int /* provider_id */) |
+// Informs the browser of a new scriptable API client in the child process. |
+IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_AddScriptClient, |
+ int /* thread_id */, |
+ int /* provider_id */) |
+ |
+// Informs the browser that the scriptable API client is unregistered. |
+IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_RemoveScriptClient, |
+ int /* thread_id */, |
+ int /* provider_id */) |
+ |
// Informs the browser that install event handling has finished. |
// Sent via EmbeddedWorker. If there was an exception during the |
// event handling it'll be reported back separately (to be propagated |