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

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

Issue 2343733002: [inspector] enabled presubmit for inspector sub folder (Closed)
Patch Set: addressed comments Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « src/inspector/v8-inspector-impl.h ('k') | src/inspector/v8-profiler-agent-impl.h » ('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_V8INSPECTORSESSIONIMPL_H_ 5 #ifndef V8_INSPECTOR_V8INSPECTORSESSIONIMPL_H_
6 #define V8_INSPECTOR_V8INSPECTORSESSIONIMPL_H_ 6 #define V8_INSPECTOR_V8INSPECTORSESSIONIMPL_H_
7 7
8 #include <vector>
9
8 #include "src/base/macros.h" 10 #include "src/base/macros.h"
9 #include "src/inspector/protocol/Forward.h" 11 #include "src/inspector/protocol/Forward.h"
10 #include "src/inspector/protocol/Runtime.h" 12 #include "src/inspector/protocol/Runtime.h"
11 #include "src/inspector/protocol/Schema.h" 13 #include "src/inspector/protocol/Schema.h"
12 14
13 #include "include/v8-inspector.h" 15 #include "include/v8-inspector.h"
14 16
15 #include <vector>
16
17 namespace v8_inspector { 17 namespace v8_inspector {
18 18
19 class InjectedScript; 19 class InjectedScript;
20 class RemoteObjectIdBase; 20 class RemoteObjectIdBase;
21 class V8ConsoleAgentImpl; 21 class V8ConsoleAgentImpl;
22 class V8DebuggerAgentImpl; 22 class V8DebuggerAgentImpl;
23 class V8InspectorImpl; 23 class V8InspectorImpl;
24 class V8HeapProfilerAgentImpl; 24 class V8HeapProfilerAgentImpl;
25 class V8ProfilerAgentImpl; 25 class V8ProfilerAgentImpl;
26 class V8RuntimeAgentImpl; 26 class V8RuntimeAgentImpl;
27 class V8SchemaAgentImpl; 27 class V8SchemaAgentImpl;
28 28
29 using protocol::ErrorString; 29 using protocol::ErrorString;
30 30
31 class V8InspectorSessionImpl : public V8InspectorSession, 31 class V8InspectorSessionImpl : public V8InspectorSession,
32 public protocol::FrontendChannel { 32 public protocol::FrontendChannel {
33 DISALLOW_COPY_AND_ASSIGN(V8InspectorSessionImpl);
34
35 public: 33 public:
36 static std::unique_ptr<V8InspectorSessionImpl> create( 34 static std::unique_ptr<V8InspectorSessionImpl> create(
37 V8InspectorImpl*, int contextGroupId, V8Inspector::Channel*, 35 V8InspectorImpl*, int contextGroupId, V8Inspector::Channel*,
38 const StringView& state); 36 const StringView& state);
39 ~V8InspectorSessionImpl(); 37 ~V8InspectorSessionImpl();
40 38
41 V8InspectorImpl* inspector() const { return m_inspector; } 39 V8InspectorImpl* inspector() const { return m_inspector; }
42 V8ConsoleAgentImpl* consoleAgent() { return m_consoleAgent.get(); } 40 V8ConsoleAgentImpl* consoleAgent() { return m_consoleAgent.get(); }
43 V8DebuggerAgentImpl* debuggerAgent() { return m_debuggerAgent.get(); } 41 V8DebuggerAgentImpl* debuggerAgent() { return m_debuggerAgent.get(); }
44 V8SchemaAgentImpl* schemaAgent() { return m_schemaAgent.get(); } 42 V8SchemaAgentImpl* schemaAgent() { return m_schemaAgent.get(); }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 std::unique_ptr<protocol::DictionaryValue> m_state; 110 std::unique_ptr<protocol::DictionaryValue> m_state;
113 111
114 std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent; 112 std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent;
115 std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent; 113 std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent;
116 std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent; 114 std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent;
117 std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent; 115 std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent;
118 std::unique_ptr<V8ConsoleAgentImpl> m_consoleAgent; 116 std::unique_ptr<V8ConsoleAgentImpl> m_consoleAgent;
119 std::unique_ptr<V8SchemaAgentImpl> m_schemaAgent; 117 std::unique_ptr<V8SchemaAgentImpl> m_schemaAgent;
120 std::vector<std::unique_ptr<V8InspectorSession::Inspectable>> 118 std::vector<std::unique_ptr<V8InspectorSession::Inspectable>>
121 m_inspectedObjects; 119 m_inspectedObjects;
120
121 DISALLOW_COPY_AND_ASSIGN(V8InspectorSessionImpl);
122 }; 122 };
123 123
124 } // namespace v8_inspector 124 } // namespace v8_inspector
125 125
126 #endif // V8_INSPECTOR_V8INSPECTORSESSIONIMPL_H_ 126 #endif // V8_INSPECTOR_V8INSPECTORSESSIONIMPL_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-inspector-impl.h ('k') | src/inspector/v8-profiler-agent-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698