Index: Source/core/inspector/InspectorRuntimeAgent.h |
diff --git a/Source/core/inspector/InspectorRuntimeAgent.h b/Source/core/inspector/InspectorRuntimeAgent.h |
index 7b593fad37171572050f114fab78f1de1c160043..5b83bd90e5e8ad9f36e932634fce7e0c5d9190b2 100644 |
--- a/Source/core/inspector/InspectorRuntimeAgent.h |
+++ b/Source/core/inspector/InspectorRuntimeAgent.h |
@@ -51,7 +51,7 @@ class WorkerContext; |
typedef String ErrorString; |
-class InspectorRuntimeAgent : public InspectorBaseAgent<InspectorRuntimeAgent>, public InspectorBackendDispatcher::RuntimeCommandHandler { |
+class InspectorRuntimeAgent : public InspectorBaseAgent, public InspectorBackendDispatcher::RuntimeCommandHandler { |
WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); |
public: |
virtual ~InspectorRuntimeAgent(); |
@@ -85,7 +85,7 @@ public: |
virtual void run(ErrorString*); |
protected: |
- InspectorRuntimeAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*, ScriptDebugServer*); |
+ InspectorRuntimeAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*, ScriptDebugServer*); |
virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) = 0; |
virtual void muteConsole() = 0; |
@@ -99,6 +99,12 @@ private: |
ScriptDebugServer* m_scriptDebugServer; |
}; |
+class InspectorRuntimeController: public InspectorBaseController<InspectorRuntimeController, InspectorRuntimeAgent> { |
+protected: |
+ InspectorRuntimeController(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState) |
+ : InspectorBaseController<InspectorRuntimeController, InspectorRuntimeAgent>("Runtime", instrumentingAgents, compositeState) { } |
+}; |
+ |
} // namespace WebCore |
#endif // InspectorRuntimeAgent_h |