| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index 7a7c38fab69dc4ac8236118bbfa20048c70f79d1..fcab1968ab48c93a514adc604b1769fec23180ea 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -305,6 +305,10 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| void Doom();
|
| bool is_redundant() const { return status_ == REDUNDANT; }
|
|
|
| + // The max-age value.
|
| + base::TimeDelta max_age() const { return max_age_; }
|
| + void set_max_age(base::TimeDelta max_age) { max_age_ = max_age; }
|
| +
|
| bool skip_waiting() const { return skip_waiting_; }
|
| void set_skip_waiting(bool skip_waiting) { skip_waiting_ = skip_waiting; }
|
|
|
| @@ -607,6 +611,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| // callback map).
|
| std::queue<RequestInfo> requests_;
|
|
|
| + base::TimeDelta max_age_;
|
| bool skip_waiting_ = false;
|
| bool skip_recording_startup_time_ = false;
|
| bool force_bypass_cache_for_scripts_ = false;
|
|
|