Index: content/renderer/devtools/devtools_agent.h |
diff --git a/content/renderer/devtools/devtools_agent.h b/content/renderer/devtools/devtools_agent.h |
index cbdccd56ecbe5ed93468a7b756246be4963141ce..f4163d7ace7a4fd09a978c88c5df564ecd71b2c4 100644 |
--- a/content/renderer/devtools/devtools_agent.h |
+++ b/content/renderer/devtools/devtools_agent.h |
@@ -33,12 +33,12 @@ class CONTENT_EXPORT DevToolsAgent |
// Returns agent instance for its routing id. |
static DevToolsAgent* FromRoutingId(int routing_id); |
- static void SendChunkedProtocolMessage( |
- IPC::Sender* sender, |
- int routing_id, |
- int call_id, |
- const std::string& message, |
- const std::string& post_state); |
+ static void SendChunkedProtocolMessage(IPC::Sender* sender, |
+ int routing_id, |
+ int session_id, |
+ int call_id, |
+ const std::string& message, |
+ const std::string& post_state); |
blink::WebDevToolsAgent* GetWebAgent(); |
@@ -55,7 +55,8 @@ class CONTENT_EXPORT DevToolsAgent |
void WidgetWillClose() override; |
// WebDevToolsAgentClient implementation. |
- void sendProtocolMessage(int call_id, |
+ void sendProtocolMessage(int session_id, |
+ int call_id, |
const blink::WebString& response, |
const blink::WebString& state) override; |
blink::WebDevToolsAgentClient::WebKitClientMessageLoop* |
@@ -66,11 +67,12 @@ class CONTENT_EXPORT DevToolsAgent |
void enableTracing(const blink::WebString& category_filter) override; |
void disableTracing() override; |
- void OnAttach(const std::string& host_id); |
+ void OnAttach(const std::string& host_id, int session_id); |
void OnReattach(const std::string& host_id, |
+ int session_id, |
const std::string& agent_state); |
void OnDetach(); |
- void OnDispatchOnInspectorBackend(const std::string& message); |
+ void OnDispatchOnInspectorBackend(int session_id, const std::string& message); |
void OnInspectElement(int x, int y); |
void ContinueProgram(); |
void OnSetupDevToolsClient(const std::string& compatibility_script); |