Index: Source/core/inspector/InspectorConsoleAgent.h |
diff --git a/Source/core/inspector/InspectorConsoleAgent.h b/Source/core/inspector/InspectorConsoleAgent.h |
index 550d2951044e323afdf7107a99677d704424c5f9..99fb357a276c5ddce2e8d8138ebe8ec3ebb5c871 100644 |
--- a/Source/core/inspector/InspectorConsoleAgent.h |
+++ b/Source/core/inspector/InspectorConsoleAgent.h |
@@ -57,10 +57,10 @@ class ThreadableLoaderClient; |
typedef String ErrorString; |
-class InspectorConsoleAgent : public InspectorBaseAgent<InspectorConsoleAgent>, public InspectorBackendDispatcher::ConsoleCommandHandler { |
+class InspectorConsoleAgent : public InspectorBaseAgent, public InspectorBackendDispatcher::ConsoleCommandHandler { |
WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent); |
public: |
- InspectorConsoleAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*); |
+ InspectorConsoleAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*); |
virtual ~InspectorConsoleAgent(); |
virtual void enable(ErrorString*); |
@@ -114,6 +114,12 @@ private: |
static int s_enabledAgentCount; |
}; |
+class InspectorConsoleController : public InspectorBaseController<InspectorConsoleController, InspectorConsoleAgent> { |
+protected: |
+ InspectorConsoleController(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState) |
+ : InspectorBaseController<InspectorConsoleController, InspectorConsoleAgent>("Console", instrumentingAgents, compositeState) { } |
+}; |
+ |
} // namespace WebCore |