| 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/browser/service_worker/service_worker_info.h" | 5 #include "content/browser/service_worker/service_worker_info.h" |
| 6 | 6 |
| 7 #include "content/browser/service_worker/embedded_worker_status.h" | 7 #include "content/browser/service_worker/embedded_worker_status.h" |
| 8 #include "content/common/service_worker/service_worker_types.h" | 8 #include "content/common/service_worker/service_worker_types.h" |
| 9 #include "content/public/common/child_process_host.h" | 9 #include "content/public/common/child_process_host.h" |
| 10 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 const GURL& pattern, | 70 const GURL& pattern, |
| 71 int64_t registration_id, | 71 int64_t registration_id, |
| 72 DeleteFlag delete_flag) | 72 DeleteFlag delete_flag) |
| 73 : pattern(pattern), | 73 : pattern(pattern), |
| 74 registration_id(registration_id), | 74 registration_id(registration_id), |
| 75 delete_flag(delete_flag), | 75 delete_flag(delete_flag), |
| 76 stored_version_size_bytes(0) {} | 76 stored_version_size_bytes(0) {} |
| 77 | 77 |
| 78 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo( | 78 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo( |
| 79 const GURL& pattern, | 79 const GURL& pattern, |
| 80 const bool use_cache, |
| 80 int64_t registration_id, | 81 int64_t registration_id, |
| 81 DeleteFlag delete_flag, | 82 DeleteFlag delete_flag, |
| 82 const ServiceWorkerVersionInfo& active_version, | 83 const ServiceWorkerVersionInfo& active_version, |
| 83 const ServiceWorkerVersionInfo& waiting_version, | 84 const ServiceWorkerVersionInfo& waiting_version, |
| 84 const ServiceWorkerVersionInfo& installing_version, | 85 const ServiceWorkerVersionInfo& installing_version, |
| 85 int64_t stored_version_size_bytes) | 86 int64_t stored_version_size_bytes) |
| 86 : pattern(pattern), | 87 : pattern(pattern), |
| 88 use_cache(use_cache), |
| 87 registration_id(registration_id), | 89 registration_id(registration_id), |
| 88 delete_flag(delete_flag), | 90 delete_flag(delete_flag), |
| 89 active_version(active_version), | 91 active_version(active_version), |
| 90 waiting_version(waiting_version), | 92 waiting_version(waiting_version), |
| 91 installing_version(installing_version), | 93 installing_version(installing_version), |
| 92 stored_version_size_bytes(stored_version_size_bytes) {} | 94 stored_version_size_bytes(stored_version_size_bytes) {} |
| 93 | 95 |
| 94 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo( | 96 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo( |
| 95 const ServiceWorkerRegistrationInfo& other) = default; | 97 const ServiceWorkerRegistrationInfo& other) = default; |
| 96 | 98 |
| 97 ServiceWorkerRegistrationInfo::~ServiceWorkerRegistrationInfo() {} | 99 ServiceWorkerRegistrationInfo::~ServiceWorkerRegistrationInfo() {} |
| 98 | 100 |
| 99 } // namespace content | 101 } // namespace content |
| OLD | NEW |