Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 1951853004: DevTools: allow devtools to skipWaiting service workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index af006d84ba7a9739247ab3af1abc7646cbf7d7f1..d6159a34bf1df7f3e1ed29dc29c5d720dc26817e 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -172,6 +172,9 @@ class CONTENT_EXPORT ServiceWorkerVersion
// This returns OK (success) if the worker is already stopped.
void StopWorker(const StatusCallback& callback);
+ // Skips waiting and forces this version to become activated.
+ void SkipWaitingFromDevTools();
+
// Schedules an update to be run 'soon'.
void ScheduleUpdate();
« no previous file with comments | « content/browser/service_worker/service_worker_context_wrapper.cc ('k') | third_party/WebKit/Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698