Index: Source/core/inspector/InspectorDebuggerAgent.h |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h |
index ab68da3bdcb293ebd8ec46990a78198c377d8d7a..18cc6495790e2a467f091f8013ee8a80d37d8b7b 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 { |
@@ -146,7 +146,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; |
@@ -201,6 +201,12 @@ private: |
Listener* m_listener; |
}; |
+class InspectorDebuggerFactory : public InspectorBaseFactory<InspectorDebuggerFactory, InspectorDebuggerAgent> { |
+protected: |
+ InspectorDebuggerFactory(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState) |
+ : InspectorBaseFactory<InspectorDebuggerFactory, InspectorDebuggerAgent>("Debugger", instrumentingAgents, compositeState) { } |
+}; |
+ |
} // namespace WebCore |