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 80e704091c4a30d8d21866f6fb7b38df153b37e2..9abde460397710cf4f1bf1d802260d5b793b97de 100644 |
--- a/content/browser/service_worker/embedded_worker_instance.h |
+++ b/content/browser/service_worker/embedded_worker_instance.h |
@@ -147,18 +147,17 @@ class CONTENT_EXPORT EmbeddedWorkerInstance { |
void OnReadyForInspection(); |
// Called back from Registry when the worker instance has ack'ed that |
- // it finished loading the script. |
- void OnScriptLoaded(); |
+ // it finished loading the script and has started a worker thread. |
+ void OnScriptLoaded(int thread_id); |
// 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. |
+ // its WorkerGlobalScope is actually started and parsed. |
// This will change the internal status from STARTING to RUNNING. |
- void OnStarted(int thread_id); |
+ void OnStarted(); |
void OnPausedAfterDownload(); |