| 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..0b3af8b5a69d792bc230549d2f877285a4aab674 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -26,7 +26,10 @@ IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest)
|
| IPC_STRUCT_TRAITS_MEMBER(headers)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| -IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchResponse)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
|
| + content::SERVICE_WORKER_FETCH_EVENT_LAST)
|
| +
|
| +IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
|
| IPC_STRUCT_TRAITS_MEMBER(status_code)
|
| IPC_STRUCT_TRAITS_MEMBER(status_text)
|
| IPC_STRUCT_TRAITS_MEMBER(method)
|
| @@ -90,6 +93,7 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed,
|
| // to the documents).
|
| IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished)
|
|
|
| - // Informs the browser that fetch event handling has finished.
|
| -IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_FetchEventFinished,
|
| - content::ServiceWorkerFetchResponse)
|
| +// Informs the browser that fetch event handling has finished.
|
| +IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished,
|
| + content::ServiceWorkerFetchEventResult,
|
| + content::ServiceWorkerResponse)
|
|
|