| Index: content/browser/service_worker/service_worker_dispatcher_host.cc
|
| diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| index d8a667c555454f71233e43c56697639dbaf8ceb1..70729b5a25cc97451eb7e742463d499b7564bcdf 100644
|
| --- a/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| @@ -180,8 +180,6 @@ bool ServiceWorkerDispatcherHost::OnMessageReceived(
|
| OnGetRegistrationForReady)
|
| IPC_MESSAGE_HANDLER(ServiceWorkerHostMsg_PostMessageToWorker,
|
| OnPostMessageToWorker)
|
| - IPC_MESSAGE_HANDLER(EmbeddedWorkerHostMsg_WorkerReadyForInspection,
|
| - OnWorkerReadyForInspection)
|
| IPC_MESSAGE_HANDLER(EmbeddedWorkerHostMsg_WorkerScriptLoaded,
|
| OnWorkerScriptLoaded)
|
| IPC_MESSAGE_HANDLER(EmbeddedWorkerHostMsg_WorkerThreadStarted,
|
| @@ -1355,18 +1353,6 @@ void ServiceWorkerDispatcherHost::UpdateComplete(
|
| Send(new ServiceWorkerMsg_ServiceWorkerUpdated(thread_id, request_id));
|
| }
|
|
|
| -void ServiceWorkerDispatcherHost::OnWorkerReadyForInspection(
|
| - int embedded_worker_id) {
|
| - TRACE_EVENT0("ServiceWorker",
|
| - "ServiceWorkerDispatcherHost::OnWorkerReadyForInspection");
|
| - if (!GetContext())
|
| - return;
|
| - EmbeddedWorkerRegistry* registry = GetContext()->embedded_worker_registry();
|
| - if (!registry->CanHandle(embedded_worker_id))
|
| - return;
|
| - registry->OnWorkerReadyForInspection(render_process_id_, embedded_worker_id);
|
| -}
|
| -
|
| void ServiceWorkerDispatcherHost::OnWorkerScriptLoaded(int embedded_worker_id) {
|
| TRACE_EVENT0("ServiceWorker",
|
| "ServiceWorkerDispatcherHost::OnWorkerScriptLoaded");
|
|
|