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 c4af2717f2e3c8a3c08641a5fb6953717727df70..2a199e16935d6042df77731f8edc2523b410dce6 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -20,6 +20,9 @@ |
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerError::ErrorType, |
blink::WebServiceWorkerError::ErrorTypeLast) |
+IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerInstallEventResult, |
+ content::SERVICE_WORKER_INSTALL_EVENT_RESULT_LAST) |
+ |
IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) |
IPC_STRUCT_TRAITS_MEMBER(url) |
IPC_STRUCT_TRAITS_MEMBER(method) |
@@ -110,12 +113,12 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_RemoveScriptClient, |
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 |
-// to the documents). |
-IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished) |
+// Sent via EmbeddedWorker. |
+IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_InstallEventFinished, |
+ content::ServiceWorkerInstallEventResult) |
// Informs the browser that fetch event handling has finished. |
+// Sent via EmbeddedWorker. |
IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished, |
content::ServiceWorkerFetchEventResult, |
content::ServiceWorkerResponse) |