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/common/service_worker/service_worker_types.h" | 7 #include "content/common/service_worker/service_worker_types.h" |
8 #include "ipc/ipc_message.h" | 8 #include "ipc/ipc_message.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 ServiceWorkerVersionInfo::~ServiceWorkerVersionInfo() {} | 38 ServiceWorkerVersionInfo::~ServiceWorkerVersionInfo() {} |
39 | 39 |
40 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo() {} | 40 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo() {} |
41 | 41 |
42 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo( | 42 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo( |
43 const GURL& script_url, | 43 const GURL& script_url, |
44 const GURL& pattern, | 44 const GURL& pattern, |
45 int64 registration_id, | 45 int64 registration_id, |
46 const ServiceWorkerVersionInfo& active_version, | 46 const ServiceWorkerVersionInfo& active_version, |
47 const ServiceWorkerVersionInfo& waiting_version) | 47 const ServiceWorkerVersionInfo& waiting_version, |
| 48 const ServiceWorkerVersionInfo& installing_version) |
48 : script_url(script_url), | 49 : script_url(script_url), |
49 pattern(pattern), | 50 pattern(pattern), |
50 registration_id(registration_id), | 51 registration_id(registration_id), |
51 active_version(active_version), | 52 active_version(active_version), |
52 waiting_version(waiting_version) { | 53 waiting_version(waiting_version), |
| 54 installing_version(installing_version) { |
53 } | 55 } |
54 | 56 |
55 ServiceWorkerRegistrationInfo::~ServiceWorkerRegistrationInfo() {} | 57 ServiceWorkerRegistrationInfo::~ServiceWorkerRegistrationInfo() {} |
56 | 58 |
57 } // namespace content | 59 } // namespace content |
OLD | NEW |