OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/common/service_worker/service_worker_types.h" | 5 #include "content/common/service_worker/service_worker_types.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 const char kServiceWorkerRegisterErrorPrefix[] = | 9 const char kServiceWorkerRegisterErrorPrefix[] = |
10 "Failed to register a ServiceWorker: "; | 10 "Failed to register a ServiceWorker: "; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 blob_uuid(blob_uuid), | 65 blob_uuid(blob_uuid), |
66 blob_size(blob_size), | 66 blob_size(blob_size), |
67 stream_url(stream_url) { | 67 stream_url(stream_url) { |
68 } | 68 } |
69 | 69 |
70 ServiceWorkerResponse::~ServiceWorkerResponse() {} | 70 ServiceWorkerResponse::~ServiceWorkerResponse() {} |
71 | 71 |
72 ServiceWorkerCacheQueryParams::ServiceWorkerCacheQueryParams() | 72 ServiceWorkerCacheQueryParams::ServiceWorkerCacheQueryParams() |
73 : ignore_search(false), | 73 : ignore_search(false), |
74 ignore_method(false), | 74 ignore_method(false), |
75 ignore_vary(false), | 75 ignore_vary(false) {} |
76 prefix_match(false) {} | |
77 | 76 |
78 ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {} | 77 ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {} |
79 | 78 |
80 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() | 79 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() |
81 : handle_id(kInvalidServiceWorkerHandleId), | 80 : handle_id(kInvalidServiceWorkerHandleId), |
82 state(blink::WebServiceWorkerStateUnknown), | 81 state(blink::WebServiceWorkerStateUnknown), |
83 version_id(kInvalidServiceWorkerVersionId) {} | 82 version_id(kInvalidServiceWorkerVersionId) {} |
84 | 83 |
85 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() | 84 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() |
86 : handle_id(kInvalidServiceWorkerRegistrationHandleId), | 85 : handle_id(kInvalidServiceWorkerRegistrationHandleId), |
87 registration_id(kInvalidServiceWorkerRegistrationId) { | 86 registration_id(kInvalidServiceWorkerRegistrationId) { |
88 } | 87 } |
89 | 88 |
90 } // namespace content | 89 } // namespace content |
OLD | NEW |