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 c130285f719aa291b6bbde64b1824393ba0fa06a..b31e63b086464b8cca3f47f044ca585dfabc92b3 100644 |
--- a/content/common/service_worker/embedded_worker_messages.h |
+++ b/content/common/service_worker/embedded_worker_messages.h |
@@ -44,6 +44,16 @@ IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StartWorker, |
IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, |
int /* embedded_worker_id */) |
+// Renderer -> Browser message to indicate that the worker has loadedd the |
+// script. |
+IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoaded, |
+ int /* embedded_worker_id */) |
+ |
+// Renderer -> Browser message to indicate that the worker has failed to load |
+// the script. |
+IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoadFailed, |
+ int /* embedded_worker_id */) |
+ |
// Renderer -> Browser message to indicate that the worker is started. |
IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, |
int /* thread_id */, |