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 InspectorSession_h | 5 #ifndef InspectorSession_h |
6 #define InspectorSession_h | 6 #define InspectorSession_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/inspector/protocol/Forward.h" | 9 #include "core/inspector/protocol/Forward.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
11 #include "wtf/Forward.h" | 11 #include "wtf/Forward.h" |
12 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
13 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
14 | 14 |
15 #include <v8-inspector-protocol.h> | 15 #include <v8-inspector-protocol.h> |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class ExecutionContext; | |
20 class InspectorAgent; | 19 class InspectorAgent; |
21 class InstrumentingAgents; | 20 class InstrumentingAgents; |
22 class LocalFrame; | 21 class LocalFrame; |
23 | 22 |
24 class CORE_EXPORT InspectorSession | 23 class CORE_EXPORT InspectorSession |
25 : public GarbageCollectedFinalized<InspectorSession>, | 24 : public GarbageCollectedFinalized<InspectorSession>, |
26 public protocol::FrontendChannel, | 25 public protocol::FrontendChannel, |
27 public v8_inspector::V8Inspector::Channel { | 26 public v8_inspector::V8Inspector::Channel { |
28 WTF_MAKE_NONCOPYABLE(InspectorSession); | 27 WTF_MAKE_NONCOPYABLE(InspectorSession); |
29 | 28 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 std::unique_ptr<protocol::UberDispatcher> m_inspectorBackendDispatcher; | 74 std::unique_ptr<protocol::UberDispatcher> m_inspectorBackendDispatcher; |
76 std::unique_ptr<protocol::DictionaryValue> m_state; | 75 std::unique_ptr<protocol::DictionaryValue> m_state; |
77 HeapVector<Member<InspectorAgent>> m_agents; | 76 HeapVector<Member<InspectorAgent>> m_agents; |
78 Vector<String> m_notificationQueue; | 77 Vector<String> m_notificationQueue; |
79 String m_lastSentState; | 78 String m_lastSentState; |
80 }; | 79 }; |
81 | 80 |
82 } // namespace blink | 81 } // namespace blink |
83 | 82 |
84 #endif // !defined(InspectorSession_h) | 83 #endif // !defined(InspectorSession_h) |
OLD | NEW |