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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "content/browser/service_worker/service_worker_version.h" | 10 #include "content/browser/service_worker/service_worker_version.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 }; | 34 }; |
35 | 35 |
36 class CONTENT_EXPORT ServiceWorkerRegistrationInfo { | 36 class CONTENT_EXPORT ServiceWorkerRegistrationInfo { |
37 public: | 37 public: |
38 ServiceWorkerRegistrationInfo(); | 38 ServiceWorkerRegistrationInfo(); |
39 ServiceWorkerRegistrationInfo( | 39 ServiceWorkerRegistrationInfo( |
40 const GURL& script_url, | 40 const GURL& script_url, |
41 const GURL& pattern, | 41 const GURL& pattern, |
42 int64 registration_id, | 42 int64 registration_id, |
43 const ServiceWorkerVersionInfo& active_version, | 43 const ServiceWorkerVersionInfo& active_version, |
44 const ServiceWorkerVersionInfo& waiting_version); | 44 const ServiceWorkerVersionInfo& waiting_version, |
| 45 const ServiceWorkerVersionInfo& installing_version); |
45 ~ServiceWorkerRegistrationInfo(); | 46 ~ServiceWorkerRegistrationInfo(); |
46 | 47 |
47 GURL script_url; | 48 GURL script_url; |
48 GURL pattern; | 49 GURL pattern; |
49 int64 registration_id; | 50 int64 registration_id; |
| 51 ServiceWorkerVersionInfo controlling_version; |
50 ServiceWorkerVersionInfo active_version; | 52 ServiceWorkerVersionInfo active_version; |
51 ServiceWorkerVersionInfo waiting_version; | 53 ServiceWorkerVersionInfo waiting_version; |
| 54 ServiceWorkerVersionInfo installing_version; |
52 }; | 55 }; |
53 | 56 |
54 } // namespace content | 57 } // namespace content |
55 | 58 |
56 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ | 59 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ |
OLD | NEW |