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

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

Issue 1777323005: Revert of [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
index 020ff519ed5962680084f5d453cf4892dc629ffb..2d863a90719338ce2c7e9c2aafca3bbc97f39bba 100644
--- a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
+++ b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
@@ -58,7 +58,8 @@
void disable(ErrorString*) override;
void workerTerminated(WorkerInspectorProxy*);
- void workerConsoleAgentEnabled(WorkerInspectorProxy*);
+
+ void workerConsoleAgentEnabled(WorkerGlobalScopeProxy*);
protected:
ConsoleMessageStorage* messageStorage() override;
@@ -72,7 +73,7 @@
RawPtrWillBeMember<InspectorDOMAgent> m_inspectorDOMAgent;
RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
- WillBeHeapHashSet<RawPtrWillBeMember<WorkerInspectorProxy>> m_workersWithEnabledConsole;
+ HashSet<WorkerGlobalScopeProxy*> m_workersWithEnabledConsole;
static int s_enabledAgentCount;
};

Powered by Google App Engine
This is Rietveld 408576698