| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef V8MetaAgentImpl_h |
| 6 #define V8MetaAgentImpl_h |
| 7 |
| 8 #include "platform/inspector_protocol/InspectorProtocol.h" |
| 9 #include "platform/v8_inspector/protocol/Meta.h" |
| 10 |
| 11 namespace v8_inspector { |
| 12 |
| 13 class V8InspectorSessionImpl; |
| 14 |
| 15 namespace protocol = blink::protocol; |
| 16 |
| 17 class V8MetaAgentImpl : public protocol::Meta::Backend { |
| 18 PROTOCOL_DISALLOW_COPY(V8MetaAgentImpl); |
| 19 public: |
| 20 V8MetaAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protoco
l::DictionaryValue* state); |
| 21 ~V8MetaAgentImpl() override; |
| 22 |
| 23 void getDomains(ErrorString*, std::unique_ptr<protocol::Array<protocol::Meta
::DomainDescription>>*) override; |
| 24 |
| 25 private: |
| 26 V8InspectorSessionImpl* m_session; |
| 27 protocol::Meta::Frontend m_frontend; |
| 28 }; |
| 29 |
| 30 } // namespace v8_inspector |
| 31 |
| 32 |
| 33 #endif // !defined(V8MetaAgentImpl_h) |
| OLD | NEW |