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 #include "core/inspector/InspectorSession.h" | 5 #include "core/inspector/InspectorSession.h" |
6 | 6 |
7 #include "bindings/core/v8/ScriptController.h" | 7 #include "bindings/core/v8/ScriptController.h" |
8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
9 #include "core/frame/UseCounter.h" | 9 #include "core/frame/UseCounter.h" |
10 #include "core/inspector/InspectorBaseAgent.h" | 10 #include "core/inspector/InspectorBaseAgent.h" |
11 #include "core/inspector/InspectorInstrumentation.h" | 11 #include "core/inspector/InspectorInstrumentation.h" |
12 #include "core/inspector/V8InspectorString.h" | 12 #include "core/inspector/V8InspectorString.h" |
13 #include "core/inspector/protocol/Protocol.h" | 13 #include "core/inspector/protocol/Protocol.h" |
14 #include "platform/v8_inspector/public/V8Inspector.h" | |
15 #include "platform/v8_inspector/public/V8InspectorSession.h" | |
16 | 14 |
17 namespace blink { | 15 namespace blink { |
18 | 16 |
19 namespace { | 17 namespace { |
20 const char kV8StateKey[] = "v8"; | 18 const char kV8StateKey[] = "v8"; |
21 } | 19 } |
22 | 20 |
23 InspectorSession::InspectorSession(Client* client, InstrumentingAgents* instrume
ntingAgents, int sessionId, v8_inspector::V8Inspector* inspector, int contextGro
upId, const String* savedState) | 21 InspectorSession::InspectorSession(Client* client, InstrumentingAgents* instrume
ntingAgents, int sessionId, v8_inspector::V8Inspector* inspector, int contextGro
upId, const String* savedState) |
24 : m_client(client) | 22 : m_client(client) |
25 , m_v8Session(nullptr) | 23 , m_v8Session(nullptr) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 131 } |
134 | 132 |
135 DEFINE_TRACE(InspectorSession) | 133 DEFINE_TRACE(InspectorSession) |
136 { | 134 { |
137 visitor->trace(m_instrumentingAgents); | 135 visitor->trace(m_instrumentingAgents); |
138 visitor->trace(m_agents); | 136 visitor->trace(m_agents); |
139 } | 137 } |
140 | 138 |
141 } // namespace blink | 139 } // namespace blink |
142 | 140 |
OLD | NEW |