diff options
author | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 08:37:06 +0000 |
---|---|---|
committer | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 08:37:06 +0000 |
commit | 37f39f0516108d8ecc308b5c5f3c06f0753b0038 (patch) | |
tree | 99702d3f3536a0ff9c933a996aa31ecec27a4201 /chrome/common/devtools_messages_internal.h | |
parent | e13372e4cf728c46c9a08ad300b633f9b975108c (diff) | |
download | chromium_src-37f39f0516108d8ecc308b5c5f3c06f0753b0038.zip chromium_src-37f39f0516108d8ecc308b5c5f3c06f0753b0038.tar.gz chromium_src-37f39f0516108d8ecc308b5c5f3c06f0753b0038.tar.bz2 |
DevTools: decouple class and method names from RPC message arguments. That would allow to select dispatcher wothout parsing the message argument.
Review URL: http://codereview.chromium.org/115862
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/devtools_messages_internal.h')
-rw-r--r-- | chrome/common/devtools_messages_internal.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/common/devtools_messages_internal.h b/chrome/common/devtools_messages_internal.h index b0e0a8a..3778497 100644 --- a/chrome/common/devtools_messages_internal.h +++ b/chrome/common/devtools_messages_internal.h @@ -49,8 +49,10 @@ IPC_BEGIN_MESSAGES(DevToolsClient) // Sends glue-level Rpc message to the client. - IPC_MESSAGE_CONTROL1(DevToolsClientMsg_RpcMessage, - std::string /* raw_msg */) + IPC_MESSAGE_CONTROL3(DevToolsClientMsg_RpcMessage, + std::string /* class_name */, + std::string /* method_name */, + std::string /* raw_msg */) IPC_END_MESSAGES(DevToolsClient) @@ -67,8 +69,10 @@ IPC_BEGIN_MESSAGES(DevToolsAgent) IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) // Sends glue-level Rpc message to the agent. - IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_RpcMessage, - std::string /* raw_msg */) + IPC_MESSAGE_CONTROL3(DevToolsAgentMsg_RpcMessage, + std::string /* class_name */, + std::string /* method_name */, + std::string /* raw_msg */) // Send debugger command to the debugger agent. Debugger commands should // be handled on IO thread(while all other devtools messages are handled in |