Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1113)

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8MetaAgentImpl.h

Issue 2253383002: [DevTools] Schema domain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/V8MetaAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8MetaAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8MetaAgentImpl.h
new file mode 100644
index 0000000000000000000000000000000000000000..c5b2366d1c23401175b53ed5ea8e94693e8a1a42
--- /dev/null
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8MetaAgentImpl.h
@@ -0,0 +1,33 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8MetaAgentImpl_h
+#define V8MetaAgentImpl_h
+
+#include "platform/inspector_protocol/InspectorProtocol.h"
+#include "platform/v8_inspector/protocol/Meta.h"
+
+namespace v8_inspector {
+
+class V8InspectorSessionImpl;
+
+namespace protocol = blink::protocol;
+
+class V8MetaAgentImpl : public protocol::Meta::Backend {
+ PROTOCOL_DISALLOW_COPY(V8MetaAgentImpl);
+public:
+ V8MetaAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state);
+ ~V8MetaAgentImpl() override;
+
+ void getDomains(ErrorString*, std::unique_ptr<protocol::Array<protocol::Meta::DomainDescription>>*) override;
+
+private:
+ V8InspectorSessionImpl* m_session;
+ protocol::Meta::Frontend m_frontend;
+};
+
+} // namespace v8_inspector
+
+
+#endif // !defined(V8MetaAgentImpl_h)

Powered by Google App Engine
This is Rietveld 408576698