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 25 matching lines...) Expand all Loading... | |
36 }; | 36 }; |
37 | 37 |
38 class CONTENT_EXPORT ServiceWorkerRegistrationInfo { | 38 class CONTENT_EXPORT ServiceWorkerRegistrationInfo { |
39 public: | 39 public: |
40 ServiceWorkerRegistrationInfo(); | 40 ServiceWorkerRegistrationInfo(); |
41 ServiceWorkerRegistrationInfo( | 41 ServiceWorkerRegistrationInfo( |
42 const GURL& pattern, | 42 const GURL& pattern, |
43 int64 registration_id, | 43 int64 registration_id, |
44 const ServiceWorkerVersionInfo& active_version, | 44 const ServiceWorkerVersionInfo& active_version, |
45 const ServiceWorkerVersionInfo& waiting_version, | 45 const ServiceWorkerVersionInfo& waiting_version, |
46 const ServiceWorkerVersionInfo& installing_version); | 46 const ServiceWorkerVersionInfo& installing_version, |
47 size_t active_version_total_size_bytes); | |
michaeln
2014/10/30 22:43:37
maybe call this 'stored_version_size' (or even jus
dmurph
2014/10/31 19:10:49
Done.
| |
47 ~ServiceWorkerRegistrationInfo(); | 48 ~ServiceWorkerRegistrationInfo(); |
48 | 49 |
49 GURL pattern; | 50 GURL pattern; |
50 int64 registration_id; | 51 int64 registration_id; |
51 ServiceWorkerVersionInfo controlling_version; | 52 ServiceWorkerVersionInfo controlling_version; |
52 ServiceWorkerVersionInfo active_version; | 53 ServiceWorkerVersionInfo active_version; |
53 ServiceWorkerVersionInfo waiting_version; | 54 ServiceWorkerVersionInfo waiting_version; |
54 ServiceWorkerVersionInfo installing_version; | 55 ServiceWorkerVersionInfo installing_version; |
56 | |
57 size_t active_version_total_size_bytes; | |
55 }; | 58 }; |
56 | 59 |
57 } // namespace content | 60 } // namespace content |
58 | 61 |
59 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ | 62 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ |
OLD | NEW |