| Index: content/browser/service_worker/service_worker_registration.h
|
| diff --git a/content/browser/service_worker/service_worker_registration.h b/content/browser/service_worker/service_worker_registration.h
|
| index cf9f5af980d297077adb122aa0c57034a6148ff6..92389d0455e6315c35ddf5c989df5c87777fe253 100644
|
| --- a/content/browser/service_worker/service_worker_registration.h
|
| +++ b/content/browser/service_worker/service_worker_registration.h
|
| @@ -56,6 +56,14 @@ class CONTENT_EXPORT ServiceWorkerRegistration
|
| bool is_uninstalling() const { return is_uninstalling_; }
|
| bool is_uninstalled() const { return is_uninstalled_; }
|
|
|
| + size_t resources_total_size_bytes() const {
|
| + return resources_total_size_bytes_;
|
| + }
|
| +
|
| + void set_resources_total_size_bytes(size_t resources_total_size_bytes) {
|
| + resources_total_size_bytes_ = resources_total_size_bytes;
|
| + }
|
| +
|
| ServiceWorkerVersion* active_version() const {
|
| return active_version_.get();
|
| }
|
| @@ -144,6 +152,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration
|
| bool is_uninstalled_;
|
| bool should_activate_when_ready_;
|
| base::Time last_update_check_;
|
| + size_t resources_total_size_bytes_;
|
| scoped_refptr<ServiceWorkerVersion> active_version_;
|
| scoped_refptr<ServiceWorkerVersion> waiting_version_;
|
| scoped_refptr<ServiceWorkerVersion> installing_version_;
|
|
|