| Index: content/common/service_worker/service_worker_types.h
|
| diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
|
| index 6b73559ac95a34794179afe773846c99d9a3459f..3968c0e6bba459a9c4984733c55cb6e7268f65c4 100644
|
| --- a/content/common/service_worker/service_worker_types.h
|
| +++ b/content/common/service_worker/service_worker_types.h
|
| @@ -24,6 +24,7 @@
|
| #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientType.h"
|
| #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseError.h"
|
| #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerState.h"
|
| +#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerUpdateViaCache.h"
|
| #include "url/gurl.h"
|
|
|
| // This file is to have common definitions that are to be shared by
|
| @@ -188,10 +189,13 @@ struct CONTENT_EXPORT ServiceWorkerObjectInfo {
|
| // Represents options for register():
|
| // https://w3c.github.io/ServiceWorker/#dictdef-registrationoptions
|
| struct CONTENT_EXPORT ServiceWorkerRegistrationOptions {
|
| - ServiceWorkerRegistrationOptions() = default;
|
| + ServiceWorkerRegistrationOptions();
|
| explicit ServiceWorkerRegistrationOptions(const GURL& scope);
|
| + ServiceWorkerRegistrationOptions(
|
| + const GURL& scope,
|
| + blink::WebServiceWorkerUpdateViaCache update_via_cache);
|
| GURL scope;
|
| - // TODO(yuryu): Other values will be added as they are supported later.
|
| + blink::WebServiceWorkerUpdateViaCache update_via_cache;
|
| };
|
|
|
| struct CONTENT_EXPORT ServiceWorkerRegistrationObjectInfo {
|
|
|