Index: content/browser/service_worker/service_worker_context_wrapper.h |
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h |
index fec09d0240a24760c54236b5c53e68fadaa8f4fb..d18c8581fd5a82673a42217d356975720e1f6d0a 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -172,6 +172,9 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
// be called on the UI thread. |
void StartServiceWorker(const GURL& pattern, const StatusCallback& callback); |
+ // This function can be called from any thread. |
+ void SkipWaitingWorker(const GURL& pattern); |
+ |
// These methods can be called from any thread. |
void UpdateRegistration(const GURL& pattern); |
void SetForceUpdateOnPageLoad(bool force_update_on_page_load); |