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

Side by Side Diff: src/inspector/v8-schema-agent-impl.h

Issue 2473563002: [inspector] migrate Schema, Console, Profiler to new style (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/inspector/v8-profiler-agent-impl.cc ('k') | src/inspector/v8-schema-agent-impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INSPECTOR_V8SCHEMAAGENTIMPL_H_ 5 #ifndef V8_INSPECTOR_V8SCHEMAAGENTIMPL_H_
6 #define V8_INSPECTOR_V8SCHEMAAGENTIMPL_H_ 6 #define V8_INSPECTOR_V8SCHEMAAGENTIMPL_H_
7 7
8 #include "src/base/macros.h" 8 #include "src/base/macros.h"
9 #include "src/inspector/protocol/Forward.h" 9 #include "src/inspector/protocol/Forward.h"
10 #include "src/inspector/protocol/Schema.h" 10 #include "src/inspector/protocol/Schema.h"
11 11
12 namespace v8_inspector { 12 namespace v8_inspector {
13 13
14 class V8InspectorSessionImpl; 14 class V8InspectorSessionImpl;
15 15
16 using protocol::ErrorString; 16 using protocol::Response;
17 17
18 class V8SchemaAgentImpl : public protocol::Schema::Backend { 18 class V8SchemaAgentImpl : public protocol::Schema::Backend {
19 public: 19 public:
20 V8SchemaAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, 20 V8SchemaAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
21 protocol::DictionaryValue* state); 21 protocol::DictionaryValue* state);
22 ~V8SchemaAgentImpl() override; 22 ~V8SchemaAgentImpl() override;
23 23
24 void getDomains( 24 Response getDomains(
25 ErrorString*,
26 std::unique_ptr<protocol::Array<protocol::Schema::Domain>>*) override; 25 std::unique_ptr<protocol::Array<protocol::Schema::Domain>>*) override;
27 26
28 private: 27 private:
29 V8InspectorSessionImpl* m_session; 28 V8InspectorSessionImpl* m_session;
30 protocol::Schema::Frontend m_frontend; 29 protocol::Schema::Frontend m_frontend;
31 30
32 DISALLOW_COPY_AND_ASSIGN(V8SchemaAgentImpl); 31 DISALLOW_COPY_AND_ASSIGN(V8SchemaAgentImpl);
33 }; 32 };
34 33
35 } // namespace v8_inspector 34 } // namespace v8_inspector
36 35
37 #endif // V8_INSPECTOR_V8SCHEMAAGENTIMPL_H_ 36 #endif // V8_INSPECTOR_V8SCHEMAAGENTIMPL_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-profiler-agent-impl.cc ('k') | src/inspector/v8-schema-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698