Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / browser / shared_worker / shared_worker_message_filter.cc
index c1fb893..20e2526 100644 (file)
@@ -53,6 +53,8 @@ bool SharedWorkerMessageFilter::OnMessageReceived(const IPC::Message& message) {
                         OnWorkerContextClosed)
     IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerContextDestroyed,
                         OnWorkerContextDestroyed)
+    IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerReadyForInspection,
+                        OnWorkerReadyForInspection)
     IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerScriptLoaded,
                         OnWorkerScriptLoaded)
     IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerScriptLoadFailed,
@@ -109,6 +111,12 @@ void SharedWorkerMessageFilter::OnWorkerContextDestroyed(int worker_route_id) {
       this);
 }
 
+void SharedWorkerMessageFilter::OnWorkerReadyForInspection(
+    int worker_route_id) {
+  SharedWorkerServiceImpl::GetInstance()->WorkerReadyForInspection(
+      worker_route_id, this);
+}
+
 void SharedWorkerMessageFilter::OnWorkerScriptLoaded(int worker_route_id) {
   SharedWorkerServiceImpl::GetInstance()->WorkerScriptLoaded(worker_route_id,
                                                              this);