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 55d527e8296cfaf6caf13fd05593415b7b83ccb0..caa98a2cc8f0c8d909ad33699beff7a90ce4f543 100644 |
--- a/content/browser/service_worker/service_worker_registration.h |
+++ b/content/browser/service_worker/service_worker_registration.h |
@@ -39,6 +39,8 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
ServiceWorkerRegistration* registration) {} |
virtual void OnRegistrationFinishedUninstalling( |
ServiceWorkerRegistration* registration) {} |
+ virtual void OnUpdateFound( |
+ ServiceWorkerRegistration* registration) {} |
}; |
ServiceWorkerRegistration(const GURL& pattern, |
@@ -70,6 +72,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
void AddListener(Listener* listener); |
void RemoveListener(Listener* listener); |
void NotifyRegistrationFailed(); |
+ void NotifyUpdateFound(); |
ServiceWorkerRegistrationInfo GetInfo(); |