| 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 9c75a89adc69a100d04743a1cef46d63db260c93..d827315901340f263f13353a4551e1b63396c0b6 100644
|
| --- a/content/common/service_worker/service_worker_messages.h
|
| +++ b/content/common/service_worker/service_worker_messages.h
|
| @@ -107,9 +107,18 @@ IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(version_id)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_ENUM_TRAITS_MAX_VALUE(
|
| + content::ServiceWorkerRegistrationOptions::UseCache,
|
| + content::ServiceWorkerRegistrationOptions::UseCache::Last)
|
| +
|
| +IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationOptions)
|
| + IPC_STRUCT_TRAITS_MEMBER(scope)
|
| + IPC_STRUCT_TRAITS_MEMBER(use_cache)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(handle_id)
|
| - IPC_STRUCT_TRAITS_MEMBER(scope)
|
| + IPC_STRUCT_TRAITS_MEMBER(options)
|
| IPC_STRUCT_TRAITS_MEMBER(registration_id)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| @@ -153,8 +162,8 @@ IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker,
|
| int /* thread_id */,
|
| int /* request_id */,
|
| int /* provider_id */,
|
| - GURL /* scope */,
|
| - GURL /* script_url */)
|
| + GURL /* script_url */,
|
| + content::ServiceWorkerRegistrationOptions)
|
|
|
| IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UpdateServiceWorker,
|
| int /* thread_id */,
|
|
|