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

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

Issue 445023005: DevTools: reduce ResourceAgent dependency on PageAgent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
Index: Source/core/inspector/InspectorDebuggerAgent.h
diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h
index 6024504285899ec627437c267824a26d6a34dccf..a1b6569194b662808ef4adb1b3584f6a30198ad4 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.h
+++ b/Source/core/inspector/InspectorDebuggerAgent.h
@@ -48,6 +48,7 @@
namespace blink {
class Document;
+class EditedResourcesContentManager;
class Event;
class EventListener;
class EventTarget;
@@ -196,7 +197,7 @@ public:
PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsole();
protected:
- explicit InspectorDebuggerAgent(InjectedScriptManager*);
+ explicit InspectorDebuggerAgent(InjectedScriptManager*, EditedResourcesContentManager*);
virtual void startListeningScriptDebugServer() = 0;
virtual void stopListeningScriptDebugServer() = 0;
@@ -244,6 +245,7 @@ private:
typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBreakpointToBreakpointIdAndSourceMap;
RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
+ RawPtrWillBeMember<EditedResourcesContentManager> m_editedResourcesContentManager;
InspectorFrontend::Debugger* m_frontend;
RefPtr<ScriptState> m_pausedScriptState;
ScriptValue m_currentCallStack;

Powered by Google App Engine
This is Rietveld 408576698