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

Unified Diff: Source/core/inspector/InspectorConsoleAgent.h

Issue 1286343003: DevTools: make InspectorDebuggerAgent aggregate V8DebuggerAgent instead of inheriting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed dgozman's comments Created 5 years, 4 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 | « Source/core/inspector/InspectorBaseAgent.h ('k') | Source/core/inspector/InspectorConsoleAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorConsoleAgent.h
diff --git a/Source/core/inspector/InspectorConsoleAgent.h b/Source/core/inspector/InspectorConsoleAgent.h
index 5006a1ec0052588e59d6366ae695f54fdef8f82f..9756e5617e899c0e9fdd6f177cdf37d5f137963e 100644
--- a/Source/core/inspector/InspectorConsoleAgent.h
+++ b/Source/core/inspector/InspectorConsoleAgent.h
@@ -36,7 +36,7 @@ namespace blink {
class ConsoleMessage;
class ConsoleMessageStorage;
class InjectedScriptManager;
-class InspectorDebuggerAgent;
+class V8DebuggerAgent;
typedef String ErrorString;
@@ -47,7 +47,7 @@ public:
~InspectorConsoleAgent() override;
DECLARE_VIRTUAL_TRACE();
- void setDebuggerAgent(InspectorDebuggerAgent* debuggerAgent) { m_debuggerAgent = debuggerAgent; }
+ void setDebuggerAgent(V8DebuggerAgent* debuggerAgent) { m_debuggerAgent = debuggerAgent; }
void enable(ErrorString*) override;
bool enabled() { return m_enabled; }
@@ -66,7 +66,7 @@ protected:
virtual void disableStackCapturingIfNeeded() = 0;
RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
- RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent;
+ RawPtrWillBeMember<V8DebuggerAgent> m_debuggerAgent;
bool m_enabled;
};
« no previous file with comments | « Source/core/inspector/InspectorBaseAgent.h ('k') | Source/core/inspector/InspectorConsoleAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698