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 ThreadDebugger_h | 5 #ifndef ThreadDebugger_h |
6 #define ThreadDebugger_h | 6 #define ThreadDebugger_h |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include "bindings/core/v8/V8PerIsolateData.h" | |
10 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
11 #include "core/inspector/ConsoleTypes.h" | 10 #include "core/inspector/ConsoleTypes.h" |
12 #include "platform/Timer.h" | 11 #include "platform/Timer.h" |
13 #include "platform/UserGestureIndicator.h" | 12 #include "platform/UserGestureIndicator.h" |
| 13 #include "platform/bindings/V8PerIsolateData.h" |
14 #include "platform/wtf/Forward.h" | 14 #include "platform/wtf/Forward.h" |
15 #include "platform/wtf/Vector.h" | 15 #include "platform/wtf/Vector.h" |
16 #include "v8/include/v8-inspector.h" | 16 #include "v8/include/v8-inspector.h" |
17 #include "v8/include/v8-profiler.h" | 17 #include "v8/include/v8-profiler.h" |
18 #include "v8/include/v8.h" | 18 #include "v8/include/v8.h" |
19 | 19 |
20 namespace blink { | 20 namespace blink { |
21 | 21 |
22 class ExecutionContext; | 22 class ExecutionContext; |
23 class SourceLocation; | 23 class SourceLocation; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 std::unique_ptr<v8::TracingCpuProfiler> v8_tracing_cpu_profiler_; | 108 std::unique_ptr<v8::TracingCpuProfiler> v8_tracing_cpu_profiler_; |
109 Vector<std::unique_ptr<Timer<ThreadDebugger>>> timers_; | 109 Vector<std::unique_ptr<Timer<ThreadDebugger>>> timers_; |
110 Vector<v8_inspector::V8InspectorClient::TimerCallback> timer_callbacks_; | 110 Vector<v8_inspector::V8InspectorClient::TimerCallback> timer_callbacks_; |
111 Vector<void*> timer_data_; | 111 Vector<void*> timer_data_; |
112 std::unique_ptr<UserGestureIndicator> user_gesture_indicator_; | 112 std::unique_ptr<UserGestureIndicator> user_gesture_indicator_; |
113 }; | 113 }; |
114 | 114 |
115 } // namespace blink | 115 } // namespace blink |
116 | 116 |
117 #endif // ThreadDebugger_h | 117 #endif // ThreadDebugger_h |
OLD | NEW |