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

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

Issue 2003433004: Remove dependency from ConsoleMessage to workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1999463002
Patch Set: messageN Created 4 years, 7 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/InspectorWorkerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
index 903d3d520fd28ff67569b22bb6b76e53413af95d..a7181790727fbe29038bebc54688c99c90a31b16 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
@@ -39,7 +39,6 @@
namespace blink {
class InspectedFrames;
-class PageConsoleAgent;
class KURL;
class WorkerInspectorProxy;
@@ -49,7 +48,7 @@ class CORE_EXPORT InspectorWorkerAgent final
, public WorkerInspectorProxy::PageInspector {
WTF_MAKE_NONCOPYABLE(InspectorWorkerAgent);
public:
- static InspectorWorkerAgent* create(InspectedFrames*, PageConsoleAgent*);
+ explicit InspectorWorkerAgent(InspectedFrames*);
~InspectorWorkerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -70,19 +69,16 @@ public:
void setTracingSessionId(const String&);
private:
- InspectorWorkerAgent(InspectedFrames*, PageConsoleAgent*);
bool enabled();
void connectToAllProxies();
void connectToProxy(WorkerInspectorProxy*, bool waitingForDebugger);
// WorkerInspectorProxy::PageInspector implementation.
void dispatchMessageFromWorker(WorkerInspectorProxy*, const String& message) override;
- void workerConsoleAgentEnabled(WorkerInspectorProxy*) override;
Member<InspectedFrames> m_inspectedFrames;
HeapHashMap<String, Member<WorkerInspectorProxy>> m_connectedProxies;
String m_tracingSessionId;
- Member<PageConsoleAgent> m_consoleAgent;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698