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 3aee44bb51b302c60c83ce7bb0b0b62ce27bd18d..6a8d11fcac988e4ed81c51d19563e83879575f50 100644 |
--- a/content/browser/service_worker/service_worker_registration.h |
+++ b/content/browser/service_worker/service_worker_registration.h |
@@ -46,6 +46,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
ServiceWorkerRegistration* registration) {} |
virtual void OnUpdateFound( |
ServiceWorkerRegistration* registration) {} |
+ virtual void OnSkippedWaiting(ServiceWorkerRegistration* registation) {} |
}; |
ServiceWorkerRegistration(const GURL& pattern, |
@@ -104,7 +105,8 @@ class CONTENT_EXPORT ServiceWorkerRegistration |
// Triggers the [[Activate]] algorithm when the currently active version |
// has no controllees. If there are no controllees at the time the method |
- // is called, activation is initiated immediately. |
+ // is called or when version's skip waiting flag is set, activation is |
+ // initiated immediately. |
void ActivateWaitingVersionWhenReady(); |
// Triggers the [[ClearRegistration]] algorithm when the currently |