| 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 V8StackTraceImpl_h | 5 #ifndef V8StackTraceImpl_h |
| 6 #define V8StackTraceImpl_h | 6 #define V8StackTraceImpl_h |
| 7 | 7 |
| 8 #include "platform/inspector_protocol/Collections.h" | 8 #include "platform/inspector_protocol/Collections.h" |
| 9 #include "platform/inspector_protocol/Platform.h" |
| 9 #include "platform/v8_inspector/public/V8StackTrace.h" | 10 #include "platform/v8_inspector/public/V8StackTrace.h" |
| 10 #include "wtf/PtrUtil.h" | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class TracedValue; | 14 class TracedValue; |
| 15 class V8DebuggerAgentImpl; | 15 class V8DebuggerAgentImpl; |
| 16 | 16 |
| 17 // Note: async stack trace may have empty top stack with non-empty tail to indic
ate | 17 // Note: async stack trace may have empty top stack with non-empty tail to indic
ate |
| 18 // that current native-only state had some async story. | 18 // that current native-only state had some async story. |
| 19 // On the other hand, any non-top async stack is guaranteed to be non-empty. | 19 // On the other hand, any non-top async stack is guaranteed to be non-empty. |
| 20 class V8StackTraceImpl final : public V8StackTrace { | 20 class V8StackTraceImpl final : public V8StackTrace { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 V8StackTraceImpl(const String16& description, protocol::Vector<Frame>& frame
s, std::unique_ptr<V8StackTraceImpl> parent); | 69 V8StackTraceImpl(const String16& description, protocol::Vector<Frame>& frame
s, std::unique_ptr<V8StackTraceImpl> parent); |
| 70 | 70 |
| 71 String16 m_description; | 71 String16 m_description; |
| 72 protocol::Vector<Frame> m_frames; | 72 protocol::Vector<Frame> m_frames; |
| 73 std::unique_ptr<V8StackTraceImpl> m_parent; | 73 std::unique_ptr<V8StackTraceImpl> m_parent; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // V8StackTraceImpl_h | 78 #endif // V8StackTraceImpl_h |
| OLD | NEW |