Index: Source/core/inspector/InspectorRuntimeAgent.h |
diff --git a/Source/core/inspector/InspectorRuntimeAgent.h b/Source/core/inspector/InspectorRuntimeAgent.h |
index 83ec4061ff72767bbc7bf737a129fc0003d86050..a51100dc8fbb1fb0ffeea0e60699b06bebe2cbff 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 InspectorRuntimeFactory : public InspectorBaseFactory<InspectorRuntimeFactory, InspectorRuntimeAgent> { |
+protected: |
+ InspectorRuntimeFactory(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState) |
+ : InspectorBaseFactory<InspectorRuntimeFactory, InspectorRuntimeAgent>("Runtime", instrumentingAgents, compositeState) { } |
+}; |
+ |
} // namespace WebCore |
#endif // InspectorRuntimeAgent_h |