OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 V8InspectorSessionImpl_h | 5 #ifndef V8InspectorSessionImpl_h |
6 #define V8InspectorSessionImpl_h | 6 #define V8InspectorSessionImpl_h |
7 | 7 |
8 #include "platform/inspector_protocol/Allocator.h" | 8 #include "platform/inspector_protocol/Allocator.h" |
9 #include "platform/inspector_protocol/Collections.h" | 9 #include "platform/inspector_protocol/Collections.h" |
10 #include "platform/inspector_protocol/Dispatcher.h" | 10 #include "platform/inspector_protocol/DispatcherBase.h" |
11 #include "platform/inspector_protocol/Frontend.h" | |
12 #include "platform/inspector_protocol/String16.h" | 11 #include "platform/inspector_protocol/String16.h" |
13 #include "platform/inspector_protocol/TypeBuilder.h" | 12 #include "platform/inspector_protocol/TypeBuilder.h" |
14 #include "platform/v8_inspector/public/V8InspectorSession.h" | 13 #include "platform/v8_inspector/public/V8InspectorSession.h" |
15 #include "platform/v8_inspector/public/V8InspectorSessionClient.h" | 14 #include "platform/v8_inspector/public/V8InspectorSessionClient.h" |
16 #include "wtf/PtrUtil.h" | 15 #include "wtf/PtrUtil.h" |
17 | 16 |
18 #include <v8.h> | 17 #include <v8.h> |
19 | 18 |
20 namespace blink { | 19 namespace blink { |
21 | 20 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 private: | 74 private: |
76 V8InspectorSessionImpl(V8DebuggerImpl*, int contextGroupId, V8InspectorSessi
onClient*, const String16* state); | 75 V8InspectorSessionImpl(V8DebuggerImpl*, int contextGroupId, V8InspectorSessi
onClient*, const String16* state); |
77 protocol::DictionaryValue* agentState(const String16& name); | 76 protocol::DictionaryValue* agentState(const String16& name); |
78 | 77 |
79 int m_contextGroupId; | 78 int m_contextGroupId; |
80 V8DebuggerImpl* m_debugger; | 79 V8DebuggerImpl* m_debugger; |
81 V8InspectorSessionClient* m_client; | 80 V8InspectorSessionClient* m_client; |
82 bool m_customObjectFormatterEnabled; | 81 bool m_customObjectFormatterEnabled; |
83 int m_instrumentationCounter; | 82 int m_instrumentationCounter; |
84 | 83 |
85 std::unique_ptr<protocol::Frontend> m_frontend; | 84 protocol::UberDispatcher m_dispatcher; |
86 std::unique_ptr<protocol::Dispatcher> m_dispatcher; | |
87 std::unique_ptr<protocol::DictionaryValue> m_state; | 85 std::unique_ptr<protocol::DictionaryValue> m_state; |
88 | 86 |
89 std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent; | 87 std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent; |
90 std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent; | 88 std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent; |
91 std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent; | 89 std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent; |
92 std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent; | 90 std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent; |
93 protocol::Vector<std::unique_ptr<V8InspectorSession::Inspectable>> m_inspect
edObjects; | 91 protocol::Vector<std::unique_ptr<V8InspectorSession::Inspectable>> m_inspect
edObjects; |
94 }; | 92 }; |
95 | 93 |
96 } // namespace blink | 94 } // namespace blink |
97 | 95 |
98 #endif | 96 #endif |
OLD | NEW |