Chromium Code Reviews| 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 caa98a2cc8f0c8d909ad33699beff7a90ce4f543..bf220d35ad69e9e52ad115e1267bf7e2b41187fa 100644 |
| --- a/content/browser/service_worker/service_worker_registration.h |
| +++ b/content/browser/service_worker/service_worker_registration.h |
| @@ -54,6 +54,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
| void set_is_deleted(bool deleted) { is_deleted_ = deleted; } |
| bool is_uninstalling() const { return is_uninstalling_; } |
| + bool is_uninstalled() const { return is_uninstalled_; } |
| ServiceWorkerVersion* active_version() const { |
| return active_version_.get(); |
| @@ -140,6 +141,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
| const int64 registration_id_; |
| bool is_deleted_; |
|
nhiroki
2014/09/11 13:05:38
I wonder if we can use |is_deleted| for this purpo
horo
2014/09/11 17:50:14
No we can't.
is_deleted_ flag is set when the del
|
| bool is_uninstalling_; |
| + bool is_uninstalled_; |
| bool should_activate_when_ready_; |
| base::Time last_update_check_; |
| scoped_refptr<ServiceWorkerVersion> active_version_; |