| Index: third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
|
| index aca0e4ef7bc3dbc8761f06544a386051b79b0a29..18164b7daf0215c1a6499c3b376fb2e971941835 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "platform/inspector_protocol/InspectorProtocol.h"
|
| #include "platform/v8_inspector/protocol/Runtime.h"
|
| +#include "platform/v8_inspector/protocol/Schema.h"
|
| #include "platform/v8_inspector/public/V8InspectorSession.h"
|
|
|
| #include <v8.h>
|
| @@ -23,6 +24,7 @@ class V8InspectorImpl;
|
| class V8HeapProfilerAgentImpl;
|
| class V8ProfilerAgentImpl;
|
| class V8RuntimeAgentImpl;
|
| +class V8SchemaAgentImpl;
|
|
|
| namespace protocol = blink::protocol;
|
|
|
| @@ -35,6 +37,7 @@ public:
|
| V8InspectorImpl* inspector() const { return m_inspector; }
|
| V8ConsoleAgentImpl* consoleAgent() { return m_consoleAgent.get(); }
|
| V8DebuggerAgentImpl* debuggerAgent() { return m_debuggerAgent.get(); }
|
| + V8SchemaAgentImpl* schemaAgent() { return m_schemaAgent.get(); }
|
| V8ProfilerAgentImpl* profilerAgent() { return m_profilerAgent.get(); }
|
| V8RuntimeAgentImpl* runtimeAgent() { return m_runtimeAgent.get(); }
|
| int contextGroupId() const { return m_contextGroupId; }
|
| @@ -47,10 +50,12 @@ public:
|
| void setCustomObjectFormatterEnabled(bool);
|
| std::unique_ptr<protocol::Runtime::RemoteObject> wrapObject(v8::Local<v8::Context>, v8::Local<v8::Value>, const String16& groupName, bool generatePreview);
|
| std::unique_ptr<protocol::Runtime::RemoteObject> wrapTable(v8::Local<v8::Context>, v8::Local<v8::Value> table, v8::Local<v8::Value> columns);
|
| + std::vector<std::unique_ptr<protocol::Schema::Domain>> supportedDomainsImpl();
|
|
|
| // V8InspectorSession implementation.
|
| void dispatchProtocolMessage(const String16& message) override;
|
| String16 stateJSON() override;
|
| + std::unique_ptr<protocol::Array<protocol::Schema::API::Domain>> supportedDomains() override;
|
| void addInspectedObject(std::unique_ptr<V8InspectorSession::Inspectable>) override;
|
| void schedulePauseOnNextStatement(const String16& breakReason, const String16& breakDetails) override;
|
| void cancelPauseOnNextStatement() override;
|
| @@ -82,6 +87,7 @@ private:
|
| std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent;
|
| std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent;
|
| std::unique_ptr<V8ConsoleAgentImpl> m_consoleAgent;
|
| + std::unique_ptr<V8SchemaAgentImpl> m_schemaAgent;
|
| std::vector<std::unique_ptr<V8InspectorSession::Inspectable>> m_inspectedObjects;
|
| };
|
|
|
|
|