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 "platform/inspector_protocol/Parser.h" | |
13 #include "platform/v8_inspector/public/V8Inspector.h" | 12 #include "platform/v8_inspector/public/V8Inspector.h" |
14 #include "platform/v8_inspector/public/V8InspectorSession.h" | 13 #include "platform/v8_inspector/public/V8InspectorSession.h" |
15 | 14 |
16 namespace blink { | 15 namespace blink { |
17 | 16 |
18 namespace { | 17 namespace { |
19 const char kV8StateKey[] = "v8"; | 18 const char kV8StateKey[] = "v8"; |
20 } | 19 } |
21 | 20 |
22 InspectorSession::InspectorSession(Client* client, InstrumentingAgents* instrume
ntingAgents, int sessionId, V8Inspector* inspector, int contextGroupId, const St
ring* savedState) | 21 InspectorSession::InspectorSession(Client* client, InstrumentingAgents* instrume
ntingAgents, int sessionId, V8Inspector* inspector, int contextGroupId, const St
ring* savedState) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 } | 118 } |
120 | 119 |
121 DEFINE_TRACE(InspectorSession) | 120 DEFINE_TRACE(InspectorSession) |
122 { | 121 { |
123 visitor->trace(m_instrumentingAgents); | 122 visitor->trace(m_instrumentingAgents); |
124 visitor->trace(m_agents); | 123 visitor->trace(m_agents); |
125 } | 124 } |
126 | 125 |
127 } // namespace blink | 126 } // namespace blink |
128 | 127 |
OLD | NEW |