// Copyright 2004-present Facebook. All Rights Reserved. #include "LegacyInspectorEnvironment.h" #include #include #include #include #include #include namespace facebook { namespace react { using namespace Inspector; LegacyInspectorEnvironment::LegacyInspectorEnvironment() : injectedScriptManager_(folly::make_unique(*this, InjectedScriptHost::create())) {} LegacyInspectorEnvironment::~LegacyInspectorEnvironment() { injectedScriptManager_->disconnect(); } InspectorFunctionCallHandler LegacyInspectorEnvironment::functionCallHandler() const { return JSC::call; } InspectorEvaluateHandler LegacyInspectorEnvironment::evaluateHandler() const { return JSC::evaluate; } } }