| Index: content/common/service_worker/service_worker_types.cc
|
| diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
|
| index 4ebe7bdbda619b552247e55d752244e7bdfa4de4..6ef280d538a2beeb55c00b002b59eb8414d25639 100644
|
| --- a/content/common/service_worker/service_worker_types.cc
|
| +++ b/content/common/service_worker/service_worker_types.cc
|
| @@ -132,10 +132,23 @@ bool ServiceWorkerObjectInfo::IsValid() const {
|
| version_id != kInvalidServiceWorkerVersionId;
|
| }
|
|
|
| +ServiceWorkerRegistrationOptions::ServiceWorkerRegistrationOptions()
|
| + : update_via_cache(blink::WebServiceWorkerUpdateViaCache::kImports) {}
|
| +
|
| +ServiceWorkerRegistrationOptions::ServiceWorkerRegistrationOptions(
|
| + const GURL& scope)
|
| + : ServiceWorkerRegistrationOptions(
|
| + scope,
|
| + blink::WebServiceWorkerUpdateViaCache::kImports) {}
|
| +
|
| +ServiceWorkerRegistrationOptions::ServiceWorkerRegistrationOptions(
|
| + const GURL& scope,
|
| + blink::WebServiceWorkerUpdateViaCache update_via_cache)
|
| + : scope(scope), update_via_cache(update_via_cache) {}
|
| +
|
| ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo()
|
| : handle_id(kInvalidServiceWorkerRegistrationHandleId),
|
| - registration_id(kInvalidServiceWorkerRegistrationId) {
|
| -}
|
| + registration_id(kInvalidServiceWorkerRegistrationId) {}
|
|
|
| ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions()
|
| : client_type(blink::kWebServiceWorkerClientTypeWindow),
|
|
|