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 f05349991e6c340333cc1774e699481e4a6bf7b7..c8e22a810b55c588787cb5d93cf483591f00a641 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -70,6 +70,10 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderCreated, |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed, |
int /* provider_id */) |
+// Informs the browser of a ServiceWorker object being destroyed. |
+IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ServiceWorkerObjectDestroyed, |
+ int /* handle_id */) |
+ |
// Informs the browser that |provider_id| is associated |
// with a service worker script running context and |
// |version_id| identifies which ServcieWorkerVersion. |
@@ -107,7 +111,7 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished, |
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, |
int /* thread_id */, |
int /* request_id */, |
- int64 /* registration_id */, |
+ int /* handle_id */, |
int64 /* version_id */) |
// Response to ServiceWorkerMsg_UnregisterServiceWorker |