From b3762af2f645ce363f4bc5fd99fbda14260c11fe Mon Sep 17 00:00:00 2001 From: "yurys@chromium.org" Date: Thu, 8 Sep 2011 06:23:46 +0000 Subject: DevTools: introduce WorkderDevToolsAgentHost We already have RenderViewDevToolsAgent host for inspected pages. This patch introduces WorkderDevToolsAgentHost which implements DevToolsAgentHost interface for inspected shared workers. Also this patch moves part of devtools message routing for workers to DevToolsManager. BUG=None TEST=Existing DevTools tests Review URL: http://codereview.chromium.org/7737026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100112 0039d316-1c4b-4281-b951-d872f2087c98 --- content/renderer/worker_devtools_agent_proxy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/renderer') diff --git a/content/renderer/worker_devtools_agent_proxy.cc b/content/renderer/worker_devtools_agent_proxy.cc index db09e0d..6a1907b 100644 --- a/content/renderer/worker_devtools_agent_proxy.cc +++ b/content/renderer/worker_devtools_agent_proxy.cc @@ -44,11 +44,11 @@ bool WorkerDevToolsAgentProxy::OnMessageReceived(const IPC::Message& message) { } void WorkerDevToolsAgentProxy::AttachDevTools() { - Send(new WorkerDevToolsAgentMsg_Attach(route_id_)); + Send(new DevToolsAgentMsg_Attach(route_id_, DevToolsRuntimeProperties())); } void WorkerDevToolsAgentProxy::DetachDevTools() { - Send(new WorkerDevToolsAgentMsg_Detach(route_id_)); + Send(new DevToolsAgentMsg_Detach(route_id_)); } void WorkerDevToolsAgentProxy::SendDevToolsMessage( -- cgit v1.1