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

Unified Diff: content/common/service_worker/embedded_worker_messages.h

Issue 1342733002: ServiceWorker: log when the script's loaded separately from thread start (chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 5 years, 3 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/common/service_worker/embedded_worker_messages.h
diff --git a/content/common/service_worker/embedded_worker_messages.h b/content/common/service_worker/embedded_worker_messages.h
index 56216ca4fa3945b341d6b9f2fefe72ec5f586aa4..be4f8b338774922b0ee60550fc87fac1b4d67f1d 100644
--- a/content/common/service_worker/embedded_worker_messages.h
+++ b/content/common/service_worker/embedded_worker_messages.h
@@ -52,9 +52,13 @@ IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker,
IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerReadyForInspection,
int /* embedded_worker_id */)
-// Renderer -> Browser message to indicate that the worker has loadedd the
+// Renderer -> Browser message to indicate that the worker has loaded the
// script.
-IPC_MESSAGE_CONTROL3(EmbeddedWorkerHostMsg_WorkerScriptLoaded,
+IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoaded,
+ int /* embedded_worker_id */)
+
+// Renderer -> Browser message to indicate that the worker thread is started.
+IPC_MESSAGE_CONTROL3(EmbeddedWorkerHostMsg_WorkerThreadStarted,
int /* embedded_worker_id */,
int /* thread_id */,
int /* provider_id */)

Powered by Google App Engine
This is Rietveld 408576698