#ifndef JSGlobalObjectRuntimeAgent_h
#define JSGlobalObjectRuntimeAgent_h
-#if ENABLE(INSPECTOR)
-
#include "InspectorRuntimeAgent.h"
-#include <wtf/PassOwnPtr.h>
namespace JSC {
class JSGlobalObject;
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.
virtual void unmuteConsole() override { }
private:
- std::unique_ptr<InspectorRuntimeFrontendDispatcher> m_frontendDispatcher;
- RefPtr<InspectorRuntimeBackendDispatcher> m_backendDispatcher;
+ std::unique_ptr<RuntimeFrontendDispatcher> m_frontendDispatcher;
+ RefPtr<RuntimeBackendDispatcher> m_backendDispatcher;
JSC::JSGlobalObject& m_globalObject;
};
} // namespace Inspector
-#endif // ENABLE(INSPECTOR)
-
#endif // !defined(JSGlobalObjectRuntimeAgent_h)