Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h

Issue 1823663003: Keep the list of active WorkerInspectorProxy objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-oilpan build Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6fd17435c97f4ae9cb90ab3691dea653f8556fba..0a3f4027c58bad7855f21e9780351178cca555bf 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
@@ -53,7 +53,6 @@ public:
~InspectorWorkerAgent() override;
DECLARE_VIRTUAL_TRACE();
- void init() override;
void disable(ErrorString*) override;
void restore() override;
void didCommitLoadForLocalFrame(LocalFrame*) override;
@@ -74,17 +73,14 @@ private:
InspectorWorkerAgent(InspectedFrames*, PageConsoleAgent*);
bool enabled();
void connectToAllProxies();
- void connectToProxy(WorkerInspectorProxy*, const String& id, bool waitingForDebugger);
+ void connectToProxy(WorkerInspectorProxy*, bool waitingForDebugger);
// WorkerInspectorProxy::PageInspector implementation.
void dispatchMessageFromWorker(WorkerInspectorProxy*, const String& message) override;
void workerConsoleAgentEnabled(WorkerInspectorProxy*) override;
RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
- using IdToProxyMap = WillBeHeapHashMap<String, RawPtrWillBeMember<WorkerInspectorProxy>>;
- IdToProxyMap m_idToProxy;
- using ProxyToIdMap = WillBeHeapHashMap<RawPtrWillBeMember<WorkerInspectorProxy>, String>;
- ProxyToIdMap m_proxyToId;
+ WillBeHeapHashMap<String, RawPtrWillBeMember<WorkerInspectorProxy>> m_connectedProxies;
String m_tracingSessionId;
RawPtrWillBeMember<PageConsoleAgent> m_consoleAgent;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698