| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_provider_host_info.h" | 5 #include "content/common/service_worker/service_worker_provider_host_info.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo() {} | 9 ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo() {} |
| 10 | 10 |
| 11 ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo( | 11 ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo( |
| 12 ServiceWorkerProviderHostInfo&& other) | 12 ServiceWorkerProviderHostInfo&& other) |
| 13 : provider_id(other.provider_id), | 13 : provider_id(other.provider_id), |
| 14 route_id(other.route_id), | 14 route_id(other.route_id), |
| 15 type(other.type), | 15 type(other.type), |
| 16 is_parent_frame_secure(other.is_parent_frame_secure) {} | 16 is_parent_frame_secure(other.is_parent_frame_secure), |
| 17 host_request(std::move(other.host_request)), |
| 18 client_ptr_info(std::move(other.client_ptr_info)) {} |
| 17 | 19 |
| 18 ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo( | 20 ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo( |
| 19 int provider_id, | 21 int provider_id, |
| 20 int route_id, | 22 int route_id, |
| 21 ServiceWorkerProviderType type, | 23 ServiceWorkerProviderType type, |
| 22 bool is_parent_frame_secure) | 24 bool is_parent_frame_secure) |
| 23 : provider_id(provider_id), | 25 : provider_id(provider_id), |
| 24 route_id(route_id), | 26 route_id(route_id), |
| 25 type(type), | 27 type(type), |
| 26 is_parent_frame_secure(is_parent_frame_secure) {} | 28 is_parent_frame_secure(is_parent_frame_secure) {} |
| 27 | 29 |
| 28 ServiceWorkerProviderHostInfo::~ServiceWorkerProviderHostInfo() {} | 30 ServiceWorkerProviderHostInfo::~ServiceWorkerProviderHostInfo() {} |
| 29 | 31 |
| 30 } // namespace content | 32 } // namespace content |
| OLD | NEW |