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

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

Issue 1893313007: DevTools: Attach all Service Workers except for old redundant ones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated pfeldman's comment Created 4 years, 8 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/embedded_worker_instance.h
diff --git a/content/browser/service_worker/embedded_worker_instance.h b/content/browser/service_worker/embedded_worker_instance.h
index ff67bc1632dc7a521c2223a2d6503b7f58e00008..1da7e1370ccaa2d392e4c0e4e37f2abb7ab0a176 100644
--- a/content/browser/service_worker/embedded_worker_instance.h
+++ b/content/browser/service_worker/embedded_worker_instance.h
@@ -170,6 +170,12 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
void OnScriptReadStarted();
void OnScriptReadFinished();
+ // Called when the worker is installed.
+ void OnWorkerVersionInstalled();
+
+ // Called when the worker is doomed.
+ void OnWorkerVersionDoomed();
+
// Called when the net::URLRequestJob to load the service worker script
// created. Not called for import scripts.
void OnURLJobCreatedForMainScript();

Powered by Google App Engine
This is Rietveld 408576698