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

Side by Side Diff: src/debug/interface-types.h

Issue 2623313005: [inspector] introduced debug::SetAsyncTaskListener (Closed)
Patch Set: Created 3 years, 11 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 V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project 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 V8_DEBUG_INTERFACE_TYPES_H_ 5 #ifndef V8_DEBUG_INTERFACE_TYPES_H_
6 #define V8_DEBUG_INTERFACE_TYPES_H_ 6 #define V8_DEBUG_INTERFACE_TYPES_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 OffsetTable offset_table; 59 OffsetTable offset_table;
60 }; 60 };
61 61
62 enum PromiseDebugActionType { 62 enum PromiseDebugActionType {
63 kDebugEnqueueRecurring, 63 kDebugEnqueueRecurring,
64 kDebugCancel, 64 kDebugCancel,
65 kDebugWillHandle, 65 kDebugWillHandle,
66 kDebugDidHandle, 66 kDebugDidHandle,
67 }; 67 };
68 68
69 enum PromiseDebugActionName {
dgozman 2017/01/13 00:01:48 Let's replace kDebugEnqueueRecurring with these 4.
kozy 2017/01/13 15:59:13 Done.
70 kDebugAsyncFunction,
71 kDebugPromiseResolve,
72 kDebugPromiseReject,
73 kDebugPromiseResolveThenableJob,
74 kDebugPromiseCollected,
75 };
76
69 } // namespace debug 77 } // namespace debug
70 } // namespace v8 78 } // namespace v8
71 79
72 #endif // V8_DEBUG_INTERFACE_TYPES_H_ 80 #endif // V8_DEBUG_INTERFACE_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698