summaryrefslogtreecommitdiffstats
path: root/chrome/common/devtools_messages_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/devtools_messages_internal.h')
-rw-r--r--chrome/common/devtools_messages_internal.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/chrome/common/devtools_messages_internal.h b/chrome/common/devtools_messages_internal.h
index d80c0ed..d48ec09 100644
--- a/chrome/common/devtools_messages_internal.h
+++ b/chrome/common/devtools_messages_internal.h
@@ -43,18 +43,15 @@
// This file describes developer tools message types.
#include "ipc/ipc_message_macros.h"
+#include "webkit/glue/devtools/devtools_message_data.h"
// These are messages sent from DevToolsAgent to DevToolsClient through the
// browser.
IPC_BEGIN_MESSAGES(DevToolsClient)
// Sends glue-level Rpc message to the client.
- IPC_MESSAGE_CONTROL5(DevToolsClientMsg_RpcMessage,
- std::string /* class_name */,
- std::string /* method_name */,
- std::string /* p1 */,
- std::string /* p2 */,
- std::string /* p3 */)
+ IPC_MESSAGE_CONTROL1(DevToolsClientMsg_RpcMessage,
+ DevToolsMessageData /* message data */)
IPC_END_MESSAGES(DevToolsClient)
@@ -72,12 +69,8 @@ IPC_BEGIN_MESSAGES(DevToolsAgent)
IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach)
// Sends glue-level Rpc message to the agent.
- IPC_MESSAGE_CONTROL5(DevToolsAgentMsg_RpcMessage,
- std::string /* class_name */,
- std::string /* method_name */,
- std::string /* p1 */,
- std::string /* p2 */,
- std::string /* p3 */)
+ IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_RpcMessage,
+ DevToolsMessageData /* message data */)
// Send debugger command to the debugger agent. Debugger commands should
// be handled on IO thread(while all other devtools messages are handled in