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

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

Issue 268753004: Add WorkerScriptLoaded message to support attaching DevTools while starting ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 a56a59414ab6f5d289d11107ba512065223207c8..d665d942f1c179797121de8439bf2aae938d10cc 100644
--- a/content/browser/service_worker/embedded_worker_instance.h
+++ b/content/browser/service_worker/embedded_worker_instance.h
@@ -121,6 +121,10 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
int worker_devtools_agent_route_id);
// Called back from Registry when the worker instance has ack'ed that
+ // it finished loading the script.
+ void OnScriptLoaded();
+
+ // Called back from Registry when the worker instance has ack'ed that
// its WorkerGlobalScope is actually started on |thread_id| in the
kinuko 2014/05/02 07:27:10 would be better to add 'and evaluated' part? ...i
kinuko 2014/05/02 07:29:05 evaluated -> 'parsed' would be better to be consis
horo 2014/05/02 08:04:56 Done.
// child process.
// This will change the internal status from STARTING to RUNNING.

Powered by Google App Engine
This is Rietveld 408576698