Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h

Issue 2044343002: DevTools: update V8Inspector to work with the new v8_inspector API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment addressed Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698