text
stringlengths
1
24.5M
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifdef HERMES_ENABLE_DEBUGGER #include "HermesRuntimeTargetDelegate.h" #include <ReactCommon/RuntimeExecutor.h> #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HermesRuntimeSamplingProfileSerializer.h" #include <oscompat/OSCompat.h> #include <variant> namespace facebook::reac...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <hermes/hermes.h> #include <jsinspector-modern/tracing/RuntimeSamplingProfile.h> namespace facebook::rea...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsi/jsi.h> #include <jsinspector-modern/RuntimeTarget.h> #include "HermesRuntimeSamplingProfileSerializer.h" #include ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/RuntimeExecutor.h> #include <cxxreact/MessageQueueThread.h> #include <hermes/hermes.h> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Registration.h" #include "ConnectionDemux.h" #if defined(HERMES_ENABLE_DEBUGGER) && !defined(HERMES_V1_ENABLED) names...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #if defined(HERMES_ENABLE_DEBUGGER) && !defined(HERMES_V1_ENABLED) #include <memory> #include <string> #include <...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <chrono> #include <condition_variable> #include <mutex> #include <string> #include <unordered_map> #include <vector> #i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSCRuntime.h" #include <JavaScriptCore/JavaScript.h> #include <jsi/jsilib.h> #include <array> #include <atomic> #inclu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsi/jsi.h> #include <memory.h> namespace facebook::jsc { std::unique_ptr<jsi::Runtime> makeJSCRuntime()...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JsErrorHandler.h" #include <cxxreact/ErrorUtils.h> #include <glog/logging.h> #include <react/bridging/Bridging.h> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsi/jsi.h> #include <iostream> #include <optional> namespace facebook::react { class JsErrorHandler { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "StackTraceParser.h" #include <glog/logging.h> #include <charconv> #include <optional> #include <regex> #include <sstrea...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> #include <vector> #include "JsErrorHandler.h" namespace facebook::react { class StackTraceParse...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include <jserrorhandler/StackTraceParser.h> using namespace facebook::react; #include <string> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <tuple> #include <jsi/instrumentation.h> #include <jsi/jsi.h> // This file contains objects to help API ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsi/jsi.h> struct SHUnit; struct SHRuntime; using SHUnitCreator = SHUnit* (*)(); namespace hermes::vm { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <chrono> #include <iosfwd> #include <string> #include <tuple> #include <unordered_map> #include <jsi/jsi....
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once namespace facebook { namespace jsi { namespace detail { inline Value toValue(Runtime&, std::nullptr_t) { return ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <cassert> #include <cmath> #include <cstdlib> #include <map> #include <mutex> #include <stdexcept> #include <jsi/instru...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cassert> #include <cstring> #include <exception> #include <functional> #include <memory> #include <string...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSIDynamic.h" #include <glog/logging.h> #include <folly/dynamic.h> #include <jsi/jsi.h> using namespace facebook::js...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/dynamic.h> #include <jsi/jsi.h> namespace facebook { namespace jsi { facebook::jsi::Value valueFr...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifndef _WINDOWS #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifdef _WINDOWS #include <jsi/jsilib.h> namespace facebook { namespace jsi { FileBuffer::FileBuffer(const std::string&) { //...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsi/jsi.h> namespace facebook { namespace jsi { class FileBuffer : public Buffer { public: FileBuffe...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <mutex> #include <jsi/decorator.h> #include <jsi/jsi.h> namespace facebook { namespace jsi { class Thre...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsi/test/testlib.h> #include <gtest/gtest.h> #include <jsi/decorator.h> #include <jsi/jsi.h> #include <stdlib.h> #inc...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <functional> #include <memory> #include <vector> #include <gtest/gtest.h> #include <jsi/jsi.h> namespace...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "jsireact/JSIExecutor.h" #include <cxxreact/ErrorUtils.h> #include <cxxreact/JSBigString.h> #include <cxxreact/ModuleRe...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cxxreact/JSBigString.h> #include <cxxreact/JSExecutor.h> #include <cxxreact/RAMBundleRegistry.h> #include...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "jsireact/JSINativeModules.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include <reactperflogger/BridgeNativeModulePerfLogger.h>...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <memory> #include <string> #include <cxxreact/ModuleRegistry.h> #include ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> #include <string_view> namespace facebook::react::jsinspector_modern { namespace { // Vendored ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConsoleMessage.h" #include <chrono> #include <utility> namespace facebook::react::jsinspector_modern { SimpleConsole...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "StackTrace.h" #include <vector> #include <jsi/jsi.h> namespace facebook::react::jsinspector_modern { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConsoleTask.h" #include "ConsoleTaskOrchestrator.h" namespace facebook::react::jsinspector_modern { ConsoleTask::Cons...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> namespace facebook::react::jsinspector_modern { class ConsoleTaskContext; class RuntimeTargetDe...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConsoleTaskContext.h" #include "ConsoleTaskOrchestrator.h" #include "RuntimeTarget.h" namespace facebook::react::jsins...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "StackTrace.h" #include <folly/dynamic.h> #include <jsi/jsi.h> #include <cassert> #include <functional> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConsoleTaskOrchestrator.h" namespace facebook::react::jsinspector_modern { /* static */ ConsoleTaskOrchestrator& Cons...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <mutex> #include <stack> #include "ConsoleTaskContext.h" namespace facebook::react::js...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <array> #include <limits> namespace facebook::react::jsinspector_modern { /** * A statically-sized arra...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ExecutionContext.h" namespace facebook::react::jsinspector_modern { namespace { #pragma clang diagnostic push #pragm...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "UniqueMonostate.h" #include <optional> #include <string> #include <unordered_set> #include <variant> na...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ExecutionContextManager.h" #include <cassert> namespace facebook::react::jsinspector_modern { int32_t ExecutionConte...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cinttypes> namespace facebook::react::jsinspector_modern { /** * Generates unique execution context ID...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FallbackRuntimeAgentDelegate.h" #include <chrono> #include <string> #include <utility> using namespace std::chrono; u...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "SessionState.h" #include <jsinspector-modern/InspectorInterfaces.h> #include <jsinspector-modern/Runtime...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FallbackRuntimeTargetDelegate.h" #include "FallbackRuntimeAgentDelegate.h" namespace facebook::react::jsinspector_mode...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "InspectorInterfaces.h" #include "RuntimeTarget.h" #include "SessionState.h" #include <string> namespace...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HostAgent.h" #include "InstanceAgent.h" #ifdef REACT_NATIVE_DEBUGGER_ENABLED #include "InspectorFlags.h" #include "Ins...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "HostTarget.h" #include <jsinspector-modern/InspectorInterfaces.h> #include <jsinspector-modern/InstanceA...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once namespace facebook::react::jsinspector_modern { enum class HostCommand { /** Resumes JavaScript execution. */ ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HostTarget.h" #include "HostAgent.h" #include "HostTargetTraceRecording.h" #include "InspectorInterfaces.h" #include "I...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "ExecutionContextManager.h" #include "HostCommand.h" #include "InspectorInterfaces.h" #include "InstanceTa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HostTargetTraceRecording.h" #include "HostTarget.h" namespace facebook::react::jsinspector_modern { HostTargetTraceRe...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "HostAgent.h" #include "HostTarget.h" #include "InstanceTarget.h" #include <jsinspector-modern/tracing/Tr...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsinspector-modern/tracing/TracingState.h> #include "HostTarget.h" #include "HostTargetTraceRecording.h" namespace fa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InspectorFlags.h" #include <glog/logging.h> #include <react/featureflags/ReactNativeFeatureFlags.h> namespace faceboo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <optional> namespace facebook::react::jsinspector_modern { /** * A container for all inspector related ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InspectorInterfaces.h" #include "InspectorFlags.h" #include <cassert> #include <list> #include <mutex> #include <util...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/dynamic.h> #include <functional> #include <memory> #include <string> #include <vector> #ifndef JS...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InspectorPackagerConnection.h" #include "InspectorInterfaces.h" #include "InspectorPackagerConnectionImpl.h" #include ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "WebSocketInterfaces.h" #include <chrono> #include <functional> #include <memory> #include <optional> #in...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "InspectorInterfaces.h" #include "InspectorPackagerConnection.h" #include <folly/dynamic.h> #include <uno...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InspectorUtilities.h" #include <cassert> namespace facebook::react::jsinspector_modern { CallbackLocalConnection::Ca...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "InspectorInterfaces.h" // Utilities that are useful when integrating with InspectorInterfaces.h but // d...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InstanceAgent.h" #include "RuntimeTarget.h" #include <jsinspector-modern/cdp/CdpJson.h> #include <jsinspector-modern/t...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "RuntimeTarget.h" #include "SessionState.h" #include <jsinspector-modern/InspectorInterfaces.h> #include ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InstanceAgent.h" #include "SessionState.h" #include <jsinspector-modern/InstanceTarget.h> #include <utility> namespa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "ExecutionContextManager.h" #include "RuntimeTarget.h" #include "ScopedExecutor.h" #include "SessionState....
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "NetworkIOAgent.h" #include "InspectorFlags.h" #include "Base64.h" #include "Utf8.h" #include <jsinspector-modern/netw...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "InspectorInterfaces.h" #include "ScopedExecutor.h" #include <folly/dynamic.h> #include <jsinspector-mode...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "PerfMonitorV2.h" #include "HostTarget.h" #include <folly/json.h> #include <react/timing/primitives.h> namespace faceb...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <optional> #include <string> namespace facebook::react::jsinspector_modern { class HostTargetDelegate; ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsinspector-modern/ExecutionContext.h> #include <jsinspector-modern/FallbackRuntimeTargetDelegate.h> #inc...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RuntimeAgent.h" #include "SessionState.h" #include <utility> namespace facebook::react::jsinspector_modern { Runtime...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "InspectorInterfaces.h" #include "RuntimeAgentDelegate.h" #include "RuntimeTarget.h" #include <jsinspecto...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsinspector-modern/cdp/CdpJson.h> namespace facebook::react::jsinspector_modern { /** * An Agent inter...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "SessionState.h" #include <jsinspector-modern/RuntimeTarget.h> #include <jsinspector-modern/tracing/PerformanceTracer.h...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "ConsoleMessage.h" #include "EnumArray.h" #include "ExecutionContext.h" #include "InspectorInterfaces.h" #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConsoleTask.h" #include "ConsoleTaskContext.h" #include "ConsoleTaskOrchestrator.h" #include <jsinspector-modern/Runti...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsinspector-modern/RuntimeTarget.h> namespace facebook::react::jsinspector_modern { void RuntimeTarget::installDebugg...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsinspector-modern/InspectorFlags.h> #include <jsinspector-modern/RuntimeTarget.h> #include <jsinspector-modern/network...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/utils/OnScopeExit.h> #include <cassert> #include <functional> #include <memory> namespace facebook...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "ExecutionContext.h" #include "RuntimeAgent.h" #include <string> #include <string_view> #include <unorder...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> namespace facebook::react::jsinspector_modern { /** * An opaque representation of a stack trac...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "TracingAgent.h" #include <jsinspector-modern/tracing/PerformanceTracer.h> #include <jsinspector-modern/tracing/Runtime...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "HostTarget.h" #include "InspectorInterfaces.h" #include <jsinspector-modern/cdp/CdpJson.h> #include <jsi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <functional> namespace facebook::react::jsinspector_modern { /** * A template for easily creating empty...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <stdexcept> #include <vector> namespace facebook::react::jsinspector_modern { /** * Takes a vector of b...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <list> #include <memory> namespace facebook::react::jsinspector_modern { /** * A list that holds weak p...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <optional> #include <string> #include <string_view> namespace facebook::react::jsinspector_modern { /** ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CdpJson.h" #include <folly/dynamic.h> #include <folly/json.h> namespace facebook::react::jsinspector_modern::cdp { P...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/dynamic.h> #include <folly/json.h> #include <string> #include <string_view> namespace facebook::re...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "BoundedRequestBuffer.h" namespace facebook::react::jsinspector_modern { bool BoundedRequestBuffer::put( const std...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <deque> #include <memory> #include <string> #include <unordered_map> namespace facebook::react::jsinspect...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CdpNetwork.h" #include "HttpUtils.h" namespace facebook::react::jsinspector_modern::cdp::network { namespace { foll...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/dynamic.h> #include <string> // Data containers for CDP Network domain types, supporting serializ...