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/Settings.h" | 9 #include "core/frame/Settings.h" |
10 #include "core/frame/UseCounter.h" | 10 #include "core/frame/UseCounter.h" |
11 #include "core/inspector/InspectedFrames.h" | 11 #include "core/inspector/InspectedFrames.h" |
12 #include "core/inspector/InspectorBaseAgent.h" | 12 #include "core/inspector/InspectorBaseAgent.h" |
13 #include "core/inspector/InspectorInstrumentation.h" | 13 #include "core/inspector/InspectorInstrumentation.h" |
14 #include "platform/inspector_protocol/Parser.h" | 14 #include "platform/inspector_protocol/Parser.h" |
15 #include "platform/v8_inspector/protocol/Debugger.h" | |
16 #include "platform/v8_inspector/public/V8Debugger.h" | 15 #include "platform/v8_inspector/public/V8Debugger.h" |
17 #include "platform/v8_inspector/public/V8InspectorSession.h" | 16 #include "platform/v8_inspector/public/V8InspectorSession.h" |
18 | 17 |
19 namespace blink { | 18 namespace blink { |
20 | 19 |
21 namespace { | 20 namespace { |
22 const char kV8StateKey[] = "v8"; | 21 const char kV8StateKey[] = "v8"; |
23 } | 22 } |
24 | 23 |
25 InspectorSession::InspectorSession(Client* client, InspectedFrames* inspectedFra
mes, InstrumentingAgents* instrumentingAgents, int sessionId, bool autoFlush, V8
Debugger* debugger, int contextGroupId, const String* savedState) | 24 InspectorSession::InspectorSession(Client* client, InspectedFrames* inspectedFra
mes, InstrumentingAgents* instrumentingAgents, int sessionId, bool autoFlush, V8
Debugger* debugger, int contextGroupId, const String* savedState) |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 169 |
171 DEFINE_TRACE(InspectorSession) | 170 DEFINE_TRACE(InspectorSession) |
172 { | 171 { |
173 visitor->trace(m_instrumentingAgents); | 172 visitor->trace(m_instrumentingAgents); |
174 visitor->trace(m_inspectedFrames); | 173 visitor->trace(m_inspectedFrames); |
175 visitor->trace(m_agents); | 174 visitor->trace(m_agents); |
176 } | 175 } |
177 | 176 |
178 } // namespace blink | 177 } // namespace blink |
179 | 178 |
OLD | NEW |