| 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 b386eecfad3fa265444694eb99c850339b07ebc3..9d7fef5e5f9b6dd3294a94d3bf2c37502e54ee07 100644
|
| --- a/content/browser/service_worker/service_worker_registration.h
|
| +++ b/content/browser/service_worker/service_worker_registration.h
|
| @@ -41,6 +41,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration
|
| ServiceWorkerRegistration* registration) {}
|
| virtual void OnUpdateFound(
|
| ServiceWorkerRegistration* registration) {}
|
| + virtual void OnSkippedWaiting(ServiceWorkerRegistration* registation) {}
|
| };
|
|
|
| ServiceWorkerRegistration(const GURL& pattern,
|
| @@ -99,7 +100,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
|
|
|