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 259039590eeef5c2e84280b9f5ad4ad72117fbcd..680fcfacbccc6def00f1ab7a2b62485d3e28e514 100644 |
--- a/content/browser/service_worker/service_worker_registration.h |
+++ b/content/browser/service_worker/service_worker_registration.h |
@@ -45,8 +45,6 @@ |
const GURL& script_url() const { return script_url_; } |
const GURL& pattern() const { return pattern_; } |
- int64 next_version_id() { return next_version_id_++; } |
- |
ServiceWorkerVersion* active_version() const { |
DCHECK(!is_shutdown_); |
return active_version_.get(); |
@@ -72,13 +70,12 @@ |
void ActivatePendingVersion(); |
private: |
- ~ServiceWorkerRegistration(); |
+ virtual ~ServiceWorkerRegistration(); |
friend class base::RefCounted<ServiceWorkerRegistration>; |
const GURL pattern_; |
const GURL script_url_; |
const int64 registration_id_; |
- int64 next_version_id_; |
scoped_refptr<ServiceWorkerVersion> active_version_; |
scoped_refptr<ServiceWorkerVersion> pending_version_; |