| 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 8cc8c2802b9e0dfc3a0af37f4928dae77affbea5..f7e2da6125c808cf49ae0378e6fc4e3dbf647608 100644
|
| --- a/content/common/service_worker/embedded_worker_messages.h
|
| +++ b/content/common/service_worker/embedded_worker_messages.h
|
| @@ -40,76 +40,12 @@ IPC_STRUCT_TRAITS_BEGIN(content::EmbeddedWorkerStartParams)
|
| IPC_STRUCT_TRAITS_MEMBER(settings)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| -// Parameters structure for EmbeddedWorkerHostMsg_ReportConsoleMessage.
|
| -// The data members directly correspond to parameters of
|
| -// WorkerMessagingProxy::reportConsoleMessage()
|
| -IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params)
|
| - IPC_STRUCT_MEMBER(int, source_identifier)
|
| - IPC_STRUCT_MEMBER(int, message_level)
|
| - IPC_STRUCT_MEMBER(base::string16, message)
|
| - IPC_STRUCT_MEMBER(int, line_number)
|
| - IPC_STRUCT_MEMBER(GURL, source_url)
|
| -IPC_STRUCT_END()
|
| -
|
| -// Browser -> Renderer message to stop (terminate) the embedded worker.
|
| -IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker,
|
| - int /* embedded_worker_id */)
|
| -
|
| -// Renderer -> Browser message to indicate that the worker is ready for
|
| -// inspection.
|
| -IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerReadyForInspection,
|
| - int /* embedded_worker_id */)
|
| -
|
| -// Renderer -> Browser message to indicate that the worker has loaded the
|
| -// script.
|
| -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 */)
|
| -
|
| -// 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 has evaluated the
|
| -// script.
|
| -IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerScriptEvaluated,
|
| - int /* embedded_worker_id */,
|
| - bool /* success */)
|
| -
|
| -// Renderer -> Browser message to indicate that the worker is started.
|
| -IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStarted,
|
| - int /* embedded_worker_id */)
|
| -
|
| -// Renderer -> Browser message to indicate that the worker is stopped.
|
| -IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped,
|
| - int /* embedded_worker_id */)
|
| -
|
| // Renderer -> Browser message to count an API use. |feature| must be one of the
|
| // values from blink::UseCounter::Feature enum.
|
| IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_CountFeature,
|
| int64_t /* service_worker_version_id */,
|
| uint32_t /* feature */)
|
|
|
| -// Renderer -> Browser message to report an exception.
|
| -IPC_MESSAGE_CONTROL5(EmbeddedWorkerHostMsg_ReportException,
|
| - int /* embedded_worker_id */,
|
| - base::string16 /* error_message */,
|
| - int /* line_number */,
|
| - int /* column_number */,
|
| - GURL /* source_url */)
|
| -
|
| -// Renderer -> Browser message to report console message.
|
| -IPC_MESSAGE_CONTROL2(
|
| - EmbeddedWorkerHostMsg_ReportConsoleMessage,
|
| - int /* embedded_worker_id */,
|
| - EmbeddedWorkerHostMsg_ReportConsoleMessage_Params /* params */)
|
| -
|
| // ---------------------------------------------------------------------------
|
| // For EmbeddedWorkerContext related messages, which are directly sent from
|
| // browser to the worker thread in the child process. We use a new message class
|
|
|