Index: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
index e7a4ce7f9625691a3e7a5bb7144002f3ace15995..48a426ea2532b152928cb3ed2c60062ed83b3f38 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
@@ -65,7 +65,7 @@ class CORE_EXPORT InspectorWorkerAgent final |
protocol::Response setAutoAttach(bool auto_attach, |
bool wait_for_debugger_on_start) override; |
protocol::Response setAttachToFrames(bool attach) override; |
- protocol::Response sendMessageToTarget(const String& target_id, |
+ protocol::Response sendMessageToTarget(const String& session_id, |
const String& message) override; |
void SetTracingSessionId(const String&); |
@@ -75,7 +75,7 @@ class CORE_EXPORT InspectorWorkerAgent final |
void ConnectToAllProxies(); |
void DisconnectFromAllProxies(bool report_to_frontend); |
void ConnectToProxy(WorkerInspectorProxy*, bool waiting_for_debugger); |
- protocol::DictionaryValue* AttachedWorkerIds(); |
+ protocol::DictionaryValue* AttachedProtocolIds(); |
// WorkerInspectorProxy::PageInspector implementation. |
void DispatchMessageFromWorker(WorkerInspectorProxy*, |
@@ -83,8 +83,11 @@ class CORE_EXPORT InspectorWorkerAgent final |
const String& message) override; |
Member<InspectedFrames> inspected_frames_; |
- HeapHashMap<String, Member<WorkerInspectorProxy>> connected_proxies_; |
+ HeapHashMap<int, Member<WorkerInspectorProxy>> connected_proxies_; |
+ HashMap<String, int> protocol_to_session_id_; |
+ HashMap<int, String> session_to_protocol_id_; |
String tracing_session_id_; |
+ static int last_session_id_; |
}; |
} // namespace blink |