Index: content/browser/service_worker/service_worker_registration_handle.h |
diff --git a/content/browser/service_worker/service_worker_registration_handle.h b/content/browser/service_worker/service_worker_registration_handle.h |
index c1a3bdd5c8ad0ce98be2954be7f7b1ea6e7b6e3a..d6d7e05fa81d7e941560106be8f0cb5fd7b44b9f 100644 |
--- a/content/browser/service_worker/service_worker_registration_handle.h |
+++ b/content/browser/service_worker/service_worker_registration_handle.h |
@@ -34,6 +34,8 @@ class ServiceWorkerRegistrationHandle |
virtual ~ServiceWorkerRegistrationHandle(); |
ServiceWorkerRegistrationObjectInfo GetObjectInfo(); |
+ ServiceWorkerObjectInfo CreateServiceWorkerHandleAndPass( |
+ ServiceWorkerVersion* version); |
bool HasNoRefCount() const { return ref_count_ <= 0; } |
void IncrementRefCount(); |
@@ -52,6 +54,8 @@ class ServiceWorkerRegistrationHandle |
const ServiceWorkerRegistrationInfo& info) OVERRIDE; |
virtual void OnRegistrationFailed( |
ServiceWorkerRegistration* registration) OVERRIDE; |
+ virtual void OnUpdateFound( |
+ ServiceWorkerRegistration* registration) OVERRIDE; |
// Sets the corresponding version field to the given version or if the given |
// version is NULL, clears the field. |
@@ -63,9 +67,6 @@ class ServiceWorkerRegistrationHandle |
// Clears all version fields. |
void ClearVersionAttributes(); |
- ServiceWorkerObjectInfo CreateServiceWorkerHandleAndPass( |
- ServiceWorkerVersion* version); |
- |
base::WeakPtr<ServiceWorkerContextCore> context_; |
ServiceWorkerDispatcherHost* dispatcher_host_; |
const int provider_id_; |