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 858651145b3e387a8cfa5e80298ff9c4a45e477e..0081d9788b511817add5ab25dce51be28d593be2 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -26,6 +26,13 @@ IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) |
IPC_STRUCT_TRAITS_MEMBER(headers) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchResponse) |
+ IPC_STRUCT_TRAITS_MEMBER(status_code) |
+ IPC_STRUCT_TRAITS_MEMBER(status_text) |
+ IPC_STRUCT_TRAITS_MEMBER(method) |
+ IPC_STRUCT_TRAITS_MEMBER(headers) |
+IPC_STRUCT_TRAITS_END() |
+ |
// Messages sent from the child process to the browser. |
IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_RegisterServiceWorker, |
@@ -82,3 +89,7 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed, |
// event handling it'll be reported back separately (to be propagated |
// to the documents). |
IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished) |
+ |
+ // Informs the browser that fetch event handling has finished. |
+IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_FetchEventFinished, |
+ content::ServiceWorkerFetchResponse) |