Chromium Code Reviews| Index: content/common/devtools_messages.h |
| diff --git a/content/common/devtools_messages.h b/content/common/devtools_messages.h |
| index a6e17ecdb585b038968ff0dfb6e50866d76401c7..3b20268852bb1da0e1b3f7428ed937618295d423 100644 |
| --- a/content/common/devtools_messages.h |
| +++ b/content/common/devtools_messages.h |
| @@ -64,6 +64,7 @@ IPC_STRUCT_BEGIN(DevToolsMessageChunk) |
| IPC_STRUCT_MEMBER(bool, is_first) |
| IPC_STRUCT_MEMBER(bool, is_last) |
| IPC_STRUCT_MEMBER(int, message_size) |
| + IPC_STRUCT_MEMBER(int, session_id) |
| IPC_STRUCT_MEMBER(int, call_id) |
| IPC_STRUCT_MEMBER(std::string, data) |
| IPC_STRUCT_MEMBER(std::string, post_state) |
| @@ -77,25 +78,29 @@ IPC_MESSAGE_ROUTED1(DevToolsClientMsg_DispatchOnInspectorFrontend, |
| // These are messages sent from DevToolsClient to DevToolsAgent through the |
| // browser. |
| // Tells agent that there is a client host connected to it. |
| -IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_Attach, |
| - std::string /* host_id */) |
| +IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_Attach, |
| + std::string /* host_id */, |
| + int /* session_id */) |
| // Tells agent that a client host was disconnected from another agent and |
| // connected to this one. |
| -IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_Reattach, |
| +IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_Reattach, |
| std::string /* host_id */, |
| + int /* session_id */, |
| std::string /* agent_state */) |
| // Tells agent that there is no longer a client host connected to it. |
| IPC_MESSAGE_ROUTED0(DevToolsAgentMsg_Detach) |
| // WebKit-level transport. |
| -IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_DispatchOnInspectorBackend, |
| +IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_DispatchOnInspectorBackend, |
| + int /* session_id */, |
| std::string /* message */) |
| // Inspect element with the given coordinates. |
| -IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, |
| +IPC_MESSAGE_ROUTED4(DevToolsAgentMsg_InspectElement, |
| std::string /* host_id */, |
| + int /* session_id */, |
| int /* x */, |
| int /* y */) |
| @@ -116,3 +121,6 @@ IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, |
| // Transport from Inspector frontend to frontend host. |
| IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, |
| std::string /* message */) |
| + |
| +IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnInspectorBackend, |
|
dgozman
2015/11/06 22:57:27
Remove it.
kozy
2015/11/07 01:54:44
Done.
|
| + std::string /* message */) |