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 f940d06a48eabd2335a4da61eccb50f18f30ea70..f975c02f9a59fda13fec6d5caddf637987b364e3 100644 |
| --- a/content/common/service_worker/service_worker_messages.h |
| +++ b/content/common/service_worker/service_worker_messages.h |
| @@ -31,6 +31,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerEventResult, |
| IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerState, |
| blink::WebServiceWorkerStateLast) |
| +IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerStatusCode, |
| + content::SERVICE_WORKER_STATUS_LAST) |
| + |
| IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) |
| IPC_STRUCT_TRAITS_MEMBER(url) |
| IPC_STRUCT_TRAITS_MEMBER(method) |
| @@ -192,9 +195,10 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, |
| content::ServiceWorkerVersionAttributes) |
| // Response to ServiceWorkerMsg_UnregisterServiceWorker. |
| -IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered, |
| +IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, |
| int /* thread_id */, |
| - int /* request_id */) |
| + int /* request_id */, |
| + content::ServiceWorkerStatusCode) |
|
horo
2014/09/09 01:24:15
We don't need to send the status code.
What we nee
shimazu
2014/09/10 01:22:09
Done.
|
| // Sent when any kind of registration error occurs during a |
| // RegisterServiceWorker handler above. |