Chromium Code Reviews| 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..cca6899ecc53c7d7c4cb86b6c2db1b1cc61187eb 100644 |
| --- a/content/common/service_worker/service_worker_messages.h |
| +++ b/content/common/service_worker/service_worker_messages.h |
| @@ -26,7 +26,9 @@ IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) |
| IPC_STRUCT_TRAITS_MEMBER(headers) |
| IPC_STRUCT_TRAITS_END() |
| -IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchResponse) |
| +IPC_ENUM_TRAITS(content::ServiceWorkerFetchEventResult) |
|
Tom Sepez
2014/03/05 19:45:02
use IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWork
falken
2014/03/06 15:58:54
Done.
|
| + |
| +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 +92,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) |