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

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

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/InspectorProtocol.h" 8 #include "platform/v8_inspector/protocol/InspectorProtocol.h"
9 #include "platform/v8_inspector/protocol/Runtime.h" 9 #include "platform/v8_inspector/protocol/Runtime.h"
10 #include "platform/v8_inspector/public/V8StackTrace.h" 10 #include "platform/v8_inspector/public/V8StackTrace.h"
11 11
12 #include <vector> 12 #include <vector>
13 13
14 namespace v8_inspector { 14 namespace v8_inspector {
15 15
16 class TracedValue; 16 class TracedValue;
17 class V8Debugger; 17 class V8Debugger;
18 18
19 namespace protocol = blink::protocol;
20
21 // Note: async stack trace may have empty top stack with non-empty tail to indic ate 19 // Note: async stack trace may have empty top stack with non-empty tail to indic ate
22 // that current native-only state had some async story. 20 // that current native-only state had some async story.
23 // On the other hand, any non-top async stack is guaranteed to be non-empty. 21 // On the other hand, any non-top async stack is guaranteed to be non-empty.
24 class V8StackTraceImpl final : public V8StackTrace { 22 class V8StackTraceImpl final : public V8StackTrace {
25 PROTOCOL_DISALLOW_COPY(V8StackTraceImpl); 23 PROTOCOL_DISALLOW_COPY(V8StackTraceImpl);
26 public: 24 public:
27 static const size_t maxCallStackSizeToCapture = 200; 25 static const size_t maxCallStackSizeToCapture = 200;
28 26
29 class Frame { 27 class Frame {
30 public: 28 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 75
78 int m_contextGroupId; 76 int m_contextGroupId;
79 String16 m_description; 77 String16 m_description;
80 std::vector<Frame> m_frames; 78 std::vector<Frame> m_frames;
81 std::unique_ptr<V8StackTraceImpl> m_parent; 79 std::unique_ptr<V8StackTraceImpl> m_parent;
82 }; 80 };
83 81
84 } // namespace v8_inspector 82 } // namespace v8_inspector
85 83
86 #endif // V8StackTraceImpl_h 84 #endif // V8StackTraceImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698