diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-27 17:47:18 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-27 17:47:18 +0000 |
commit | 7cb43d53404c33f90398ba6217dc9645400e9c8e (patch) | |
tree | 117f785d10699cc2730324443806f27a3a9b2f5d /chrome/renderer/devtools_agent.cc | |
parent | 0a9a881e2e81c841e44ecb411da102f8c8e30265 (diff) | |
download | chromium_src-7cb43d53404c33f90398ba6217dc9645400e9c8e.zip chromium_src-7cb43d53404c33f90398ba6217dc9645400e9c8e.tar.gz chromium_src-7cb43d53404c33f90398ba6217dc9645400e9c8e.tar.bz2 |
DevTools: Remove base/values dependency from devtools.
Review URL: http://codereview.chromium.org/173480
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_agent.cc')
-rw-r--r-- | chrome/renderer/devtools_agent.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/chrome/renderer/devtools_agent.cc b/chrome/renderer/devtools_agent.cc index aef7125..74af788 100644 --- a/chrome/renderer/devtools_agent.cc +++ b/chrome/renderer/devtools_agent.cc @@ -44,10 +44,13 @@ bool DevToolsAgent::OnMessageReceived(const IPC::Message& message) { void DevToolsAgent::SendMessageToClient(const std::string& class_name, const std::string& method_name, - const std::string& raw_msg) { + const std::string& param1, + const std::string& param2, + const std::string& param3) { IPC::Message* m = new ViewHostMsg_ForwardToDevToolsClient( routing_id_, - DevToolsClientMsg_RpcMessage(class_name, method_name, raw_msg)); + DevToolsClientMsg_RpcMessage(class_name, method_name, param1, param2, + param3)); view_->Send(m); } @@ -85,10 +88,13 @@ void DevToolsAgent::OnDetach() { void DevToolsAgent::OnRpcMessage(const std::string& class_name, const std::string& method_name, - const std::string& raw_msg) { + const std::string& param1, + const std::string& param2, + const std::string& param3) { WebDevToolsAgent* web_agent = GetWebAgent(); if (web_agent) { - web_agent->DispatchMessageFromClient(class_name, method_name, raw_msg); + web_agent->DispatchMessageFromClient(class_name, method_name, param1, + param2, param3); } } |