| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 status_text(status_text), | 64 status_text(status_text), |
| 65 response_type(response_type), | 65 response_type(response_type), |
| 66 headers(headers), | 66 headers(headers), |
| 67 blob_uuid(blob_uuid), | 67 blob_uuid(blob_uuid), |
| 68 blob_size(blob_size), | 68 blob_size(blob_size), |
| 69 stream_url(stream_url) { | 69 stream_url(stream_url) { |
| 70 } | 70 } |
| 71 | 71 |
| 72 ServiceWorkerResponse::~ServiceWorkerResponse() {} | 72 ServiceWorkerResponse::~ServiceWorkerResponse() {} |
| 73 | 73 |
| 74 ServiceWorkerCacheQueryParams::ServiceWorkerCacheQueryParams() | |
| 75 : ignore_search(false), | |
| 76 ignore_method(false), | |
| 77 ignore_vary(false) {} | |
| 78 | |
| 79 ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {} | |
| 80 | |
| 81 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() | 74 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() |
| 82 : handle_id(kInvalidServiceWorkerHandleId), | 75 : handle_id(kInvalidServiceWorkerHandleId), |
| 83 state(blink::WebServiceWorkerStateUnknown), | 76 state(blink::WebServiceWorkerStateUnknown), |
| 84 version_id(kInvalidServiceWorkerVersionId) {} | 77 version_id(kInvalidServiceWorkerVersionId) {} |
| 85 | 78 |
| 86 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() | 79 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() |
| 87 : handle_id(kInvalidServiceWorkerRegistrationHandleId), | 80 : handle_id(kInvalidServiceWorkerRegistrationHandleId), |
| 88 registration_id(kInvalidServiceWorkerRegistrationId) { | 81 registration_id(kInvalidServiceWorkerRegistrationId) { |
| 89 } | 82 } |
| 90 | 83 |
| 91 ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions() | 84 ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions() |
| 92 : client_type(blink::WebServiceWorkerClientTypeWindow), | 85 : client_type(blink::WebServiceWorkerClientTypeWindow), |
| 93 include_uncontrolled(false) { | 86 include_uncontrolled(false) { |
| 94 } | 87 } |
| 95 | 88 |
| 96 } // namespace content | 89 } // namespace content |
| OLD | NEW |