| 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..ec705ce6e2658b597d9fa05cb5d6f524eeaee83a 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
|
| @@ -6,6 +6,7 @@
|
| #define V8InspectorSessionImpl_h
|
|
|
| #include "platform/inspector_protocol/InspectorProtocol.h"
|
| +#include "platform/v8_inspector/protocol/Meta.h"
|
| #include "platform/v8_inspector/protocol/Runtime.h"
|
| #include "platform/v8_inspector/public/V8InspectorSession.h"
|
|
|
| @@ -23,6 +24,7 @@ class V8InspectorImpl;
|
| class V8HeapProfilerAgentImpl;
|
| class V8ProfilerAgentImpl;
|
| class V8RuntimeAgentImpl;
|
| +class V8MetaAgentImpl;
|
|
|
| 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(); }
|
| + V8MetaAgentImpl* metaAgent() { return m_metaAgent.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::Meta::DomainDescription>> supportedDomainsImpl();
|
|
|
| // V8InspectorSession implementation.
|
| void dispatchProtocolMessage(const String16& message) override;
|
| String16 stateJSON() override;
|
| + std::unique_ptr<protocol::Array<protocol::Meta::API::DomainDescription>> 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<V8MetaAgentImpl> m_metaAgent;
|
| std::vector<std::unique_ptr<V8InspectorSession::Inspectable>> m_inspectedObjects;
|
| };
|
|
|
|
|