X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/inspector/agents/JSGlobalObjectRuntimeAgent.h diff --git a/inspector/agents/JSGlobalObjectRuntimeAgent.h b/inspector/agents/JSGlobalObjectRuntimeAgent.h index 0e72e09..631baec 100644 --- a/inspector/agents/JSGlobalObjectRuntimeAgent.h +++ b/inspector/agents/JSGlobalObjectRuntimeAgent.h @@ -26,10 +26,7 @@ #ifndef JSGlobalObjectRuntimeAgent_h #define JSGlobalObjectRuntimeAgent_h -#if ENABLE(INSPECTOR) - #include "InspectorRuntimeAgent.h" -#include namespace JSC { class JSGlobalObject; @@ -41,11 +38,11 @@ class JSGlobalObjectRuntimeAgent final : public InspectorRuntimeAgent { public: JSGlobalObjectRuntimeAgent(InjectedScriptManager*, JSC::JSGlobalObject&); - virtual void didCreateFrontendAndBackend(InspectorFrontendChannel*, InspectorBackendDispatcher*) override; - virtual void willDestroyFrontendAndBackend(InspectorDisconnectReason) override; + virtual void didCreateFrontendAndBackend(FrontendChannel*, BackendDispatcher*) override; + virtual void willDestroyFrontendAndBackend(DisconnectReason) override; virtual JSC::VM& globalVM() override; - virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) override; + virtual InjectedScript injectedScriptForEval(ErrorString&, const int* executionContextId) override; // NOTE: JavaScript inspector does not yet need to mute a console because no messages // are sent to the console outside of the API boundary or console object. @@ -53,13 +50,11 @@ public: virtual void unmuteConsole() override { } private: - std::unique_ptr m_frontendDispatcher; - RefPtr m_backendDispatcher; + std::unique_ptr m_frontendDispatcher; + RefPtr m_backendDispatcher; JSC::JSGlobalObject& m_globalObject; }; } // namespace Inspector -#endif // ENABLE(INSPECTOR) - #endif // !defined(JSGlobalObjectRuntimeAgent_h)