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..f9d382c27748f208785ccf7bbe00f62f1f5ed4c5 100644 |
--- a/content/browser/service_worker/embedded_worker_instance.h |
+++ b/content/browser/service_worker/embedded_worker_instance.h |
@@ -121,7 +121,15 @@ class CONTENT_EXPORT EmbeddedWorkerInstance { |
int worker_devtools_agent_route_id); |
// Called back from Registry when the worker instance has ack'ed that |
- // its WorkerGlobalScope is actually started on |thread_id| in the |
+ // it finished loading the script. |
+ void OnScriptLoaded(); |
+ |
+ // Called back from Registry when the worker instance has ack'ed that |
+ // it failed to load the script. |
+ void OnScriptLoadFailed(); |
+ |
+ // Called back from Registry when the worker instance has ack'ed that |
+ // its WorkerGlobalScope is actually started and parsed on |thread_id| in the |
// child process. |
// This will change the internal status from STARTING to RUNNING. |
void OnStarted(int thread_id); |