Alexander Blom fbc8410d86 Add some documentation
Summary: Adds documentation about the Inspector.

Reviewed By: passy, foghina

Differential Revision: D4114673

fbshipit-source-id: fb1182c89c94f10a74d4589b6a24a06b376db92e
2016-11-02 12:29:15 -07:00

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_;
};
}
}