mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
fbc8410d86
Summary: Adds documentation about the Inspector. Reviewed By: passy, foghina Differential Revision: D4114673 fbshipit-source-id: fb1182c89c94f10a74d4589b6a24a06b376db92e
33 lines
628 B
C++
33 lines
628 B
C++
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "LegacyDispatcher.h"
|
|
|
|
namespace JSC {
|
|
class JSGlobalObject;
|
|
}
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class LegacyInspectorEnvironment;
|
|
class ConsoleAgent;
|
|
|
|
/*
|
|
* An dispatcher that provides the existing agents in JavaScriptCore.
|
|
*/
|
|
class LegacyAgents : public LegacyDispatcher {
|
|
public:
|
|
LegacyAgents(
|
|
JSC::JSGlobalObject& globalObject,
|
|
std::unique_ptr<LegacyInspectorEnvironment> environment,
|
|
ConsoleAgent* consoleAgent);
|
|
private:
|
|
std::unique_ptr<LegacyInspectorEnvironment> environment_;
|
|
ConsoleAgent* consoleAgent_;
|
|
};
|
|
|
|
}
|
|
}
|