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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 blob_uuid(blob_uuid), | 69 blob_uuid(blob_uuid), |
70 blob_size(blob_size), | 70 blob_size(blob_size), |
71 stream_url(stream_url) { | 71 stream_url(stream_url) { |
72 } | 72 } |
73 | 73 |
74 ServiceWorkerResponse::~ServiceWorkerResponse() {} | 74 ServiceWorkerResponse::~ServiceWorkerResponse() {} |
75 | 75 |
76 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() | 76 ServiceWorkerObjectInfo::ServiceWorkerObjectInfo() |
77 : handle_id(kInvalidServiceWorkerHandleId), | 77 : handle_id(kInvalidServiceWorkerHandleId), |
78 state(blink::WebServiceWorkerStateUnknown), | 78 state(blink::WebServiceWorkerStateUnknown), |
79 version_id(kInvalidServiceWorkerVersionId) {} | 79 version_uuid(std::string()) {} |
80 | 80 |
81 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() | 81 ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo() |
82 : handle_id(kInvalidServiceWorkerRegistrationHandleId), | 82 : handle_id(kInvalidServiceWorkerRegistrationHandleId), |
83 registration_id(kInvalidServiceWorkerRegistrationId) { | 83 registration_id(kInvalidServiceWorkerRegistrationId) { |
84 } | 84 } |
85 | 85 |
86 ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions() | 86 ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions() |
87 : client_type(blink::WebServiceWorkerClientTypeWindow), | 87 : client_type(blink::WebServiceWorkerClientTypeWindow), |
88 include_uncontrolled(false) { | 88 include_uncontrolled(false) { |
89 } | 89 } |
90 | 90 |
91 } // namespace content | 91 } // namespace content |
OLD | NEW |