| 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 "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/inspector/ConsoleTypes.h" | 9 #include "core/inspector/ConsoleTypes.h" |
| 10 #include "platform/Timer.h" | 10 #include "platform/Timer.h" |
| 11 #include "platform/UserGestureIndicator.h" | 11 #include "platform/UserGestureIndicator.h" |
| 12 #include "platform/v8_inspector/public/V8Inspector.h" | |
| 13 #include "platform/v8_inspector/public/V8InspectorClient.h" | |
| 14 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
| 15 #include "wtf/Vector.h" | 13 #include "wtf/Vector.h" |
| 16 #include <memory> | 14 #include <memory> |
| 15 #include <v8-inspector.h> |
| 17 #include <v8.h> | 16 #include <v8.h> |
| 18 | 17 |
| 19 namespace blink { | 18 namespace blink { |
| 20 | 19 |
| 21 class ConsoleMessage; | 20 class ConsoleMessage; |
| 22 class ExecutionContext; | 21 class ExecutionContext; |
| 23 class SourceLocation; | 22 class SourceLocation; |
| 24 | 23 |
| 25 // TODO(dgozman): rename this to ThreadInspector (and subclasses). | 24 // TODO(dgozman): rename this to ThreadInspector (and subclasses). |
| 26 class CORE_EXPORT ThreadDebugger : public v8_inspector::V8InspectorClient { | 25 class CORE_EXPORT ThreadDebugger : public v8_inspector::V8InspectorClient { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 std::unique_ptr<v8_inspector::V8Inspector> m_v8Inspector; | 80 std::unique_ptr<v8_inspector::V8Inspector> m_v8Inspector; |
| 82 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers; | 81 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers; |
| 83 Vector<v8_inspector::V8InspectorClient::TimerCallback> m_timerCallbacks; | 82 Vector<v8_inspector::V8InspectorClient::TimerCallback> m_timerCallbacks; |
| 84 Vector<void*> m_timerData; | 83 Vector<void*> m_timerData; |
| 85 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator; | 84 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator; |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace blink | 87 } // namespace blink |
| 89 | 88 |
| 90 #endif // ThreadDebugger_h | 89 #endif // ThreadDebugger_h |
| OLD | NEW |