Index: Source/core/inspector/InspectorDebuggerAgent.h |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h |
index 9b8bf3702bb2148442e035ec75ecbc31a58eda90..617179ae7724162572a8b1fae4cd23eda75f593c 100644 |
--- a/Source/core/inspector/InspectorDebuggerAgent.h |
+++ b/Source/core/inspector/InspectorDebuggerAgent.h |
@@ -61,7 +61,7 @@ class ScriptValue; |
typedef String ErrorString; |
-class InspectorDebuggerAgent : public InspectorBaseAgent<InspectorDebuggerAgent>, public ScriptDebugListener, public InspectorBackendDispatcher::DebuggerCommandHandler { |
+class InspectorDebuggerAgent : public InspectorBaseAgent, public ScriptDebugListener, public InspectorBackendDispatcher::DebuggerCommandHandler { |
WTF_MAKE_NONCOPYABLE(InspectorDebuggerAgent); WTF_MAKE_FAST_ALLOCATED; |
public: |
enum BreakpointSource { |
@@ -145,7 +145,7 @@ public: |
void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource); |
protected: |
- InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*); |
+ InspectorDebuggerAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*); |
virtual void startListeningScriptDebugServer() = 0; |
virtual void stopListeningScriptDebugServer() = 0; |
@@ -200,6 +200,12 @@ private: |
Listener* m_listener; |
}; |
+class InspectorDebuggerController : public InspectorBaseController<InspectorDebuggerController, InspectorDebuggerAgent> { |
+protected: |
+ InspectorDebuggerController(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState) |
+ : InspectorBaseController<InspectorDebuggerController, InspectorDebuggerAgent>("Debugger", instrumentingAgents, compositeState) { } |
+}; |
+ |
} // namespace WebCore |