Index: content/child/shared_worker_devtools_agent.h |
diff --git a/content/child/shared_worker_devtools_agent.h b/content/child/shared_worker_devtools_agent.h |
index 2d6a732a3300e900e0ac1bfe43c09725c0203784..19b1ea923dbe6ebdef8ec293d93c70fb1619597c 100644 |
--- a/content/child/shared_worker_devtools_agent.h |
+++ b/content/child/shared_worker_devtools_agent.h |
@@ -27,15 +27,18 @@ class SharedWorkerDevToolsAgent { |
// Called on the Worker thread. |
bool OnMessageReceived(const IPC::Message& message); |
- void SendDevToolsMessage(int call_id, |
+ void SendDevToolsMessage(int session_id, |
+ int call_id, |
const blink::WebString& message, |
const blink::WebString& post_state); |
private: |
- void OnAttach(const std::string& host_id); |
- void OnReattach(const std::string& host_id, const std::string& state); |
+ void OnAttach(const std::string& host_id, int session_id); |
+ void OnReattach(const std::string& host_id, |
+ int session_id, |
+ const std::string& state); |
void OnDetach(); |
- void OnDispatchOnInspectorBackend(const std::string& message); |
+ void OnDispatchOnInspectorBackend(int session_id, const std::string& message); |
bool Send(IPC::Message* message); |
const int route_id_; |