diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-11 06:37:15 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-11 06:37:15 +0000 |
commit | d7cd453d824f825f1f55abf93c7bedef4bf05fcf (patch) | |
tree | a3728a054a74b279b80ded75ce647ff32b1761c8 /chrome/renderer/devtools_client.h | |
parent | eabfdae9101aa33a212fdaf240d8e0af70874e16 (diff) | |
download | chromium_src-d7cd453d824f825f1f55abf93c7bedef4bf05fcf.zip chromium_src-d7cd453d824f825f1f55abf93c7bedef4bf05fcf.tar.gz chromium_src-d7cd453d824f825f1f55abf93c7bedef4bf05fcf.tar.bz2 |
DevTools: use WebDevToolsMessageData for devtools rpc messages
Review URL: http://codereview.chromium.org/463065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_client.h')
-rw-r--r-- | chrome/renderer/devtools_client.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/chrome/renderer/devtools_client.h b/chrome/renderer/devtools_client.h index aad5c09..c8eba9f 100644 --- a/chrome/renderer/devtools_client.h +++ b/chrome/renderer/devtools_client.h @@ -21,6 +21,8 @@ namespace WebKit { class WebDevToolsFrontend; } +struct DevToolsMessageData; + // Developer tools UI end of communication channel between the render process of // the page being inspected and tools UI renderer process. All messages will // go through browser process. On the side of the inspected page there's @@ -37,11 +39,8 @@ class DevToolsClient : public WebKit::WebDevToolsFrontendClient { bool OnMessageReceived(const IPC::Message& message); // WebDevToolsFrontendClient implementation - virtual void sendMessageToAgent(const WebKit::WebString& class_name, - const WebKit::WebString& method_name, - const WebKit::WebString& param1, - const WebKit::WebString& param2, - const WebKit::WebString& param3); + virtual void sendMessageToAgent( + const WebKit::WebDevToolsMessageData& data); virtual void sendDebuggerCommandToAgent(const WebKit::WebString& command); virtual void sendDebuggerPauseScript(); @@ -51,11 +50,7 @@ class DevToolsClient : public WebKit::WebDevToolsFrontendClient { virtual void undockWindow(); private: - void OnRpcMessage(const std::string& class_name, - const std::string& method_name, - const std::string& param1, - const std::string& param2, - const std::string& param3); + void OnRpcMessage(const DevToolsMessageData& data); // Sends message to DevToolsAgent. void Send(const IPC::Message& tools_agent_message); |