summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authoryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 06:23:46 +0000
committeryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 06:23:46 +0000
commitb3762af2f645ce363f4bc5fd99fbda14260c11fe (patch)
tree9d7acef3359d4ea40fd2b4c2e7ce634863c1b72b /content/renderer
parentbfe9d6d536336f7a5a88279cf6686756e6b95ab2 (diff)
downloadchromium_src-b3762af2f645ce363f4bc5fd99fbda14260c11fe.zip
chromium_src-b3762af2f645ce363f4bc5fd99fbda14260c11fe.tar.gz
chromium_src-b3762af2f645ce363f4bc5fd99fbda14260c11fe.tar.bz2
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
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/worker_devtools_agent_proxy.cc4
1 files changed, 2 insertions, 2 deletions
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(