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

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

Issue 2650803003: [inspector] change target promise for kDebugWillHandle & kDebugDidHandle (Closed)
Patch Set: added missing guard in asyncTaskCreated Created 3 years, 10 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 WasmDisassembly() {} 53 WasmDisassembly() {}
54 WasmDisassembly(std::string disassembly, OffsetTable offset_table) 54 WasmDisassembly(std::string disassembly, OffsetTable offset_table)
55 : disassembly(std::move(disassembly)), 55 : disassembly(std::move(disassembly)),
56 offset_table(std::move(offset_table)) {} 56 offset_table(std::move(offset_table)) {}
57 57
58 std::string disassembly; 58 std::string disassembly;
59 OffsetTable offset_table; 59 OffsetTable offset_table;
60 }; 60 };
61 61
62 enum PromiseDebugActionType { 62 enum PromiseDebugActionType {
63 kDebugPromiseCreated,
63 kDebugEnqueueAsyncFunction, 64 kDebugEnqueueAsyncFunction,
64 kDebugEnqueuePromiseResolve, 65 kDebugEnqueuePromiseResolve,
65 kDebugEnqueuePromiseReject, 66 kDebugEnqueuePromiseReject,
66 kDebugEnqueuePromiseResolveThenableJob,
67 kDebugPromiseCollected, 67 kDebugPromiseCollected,
68 kDebugWillHandle, 68 kDebugWillHandle,
69 kDebugDidHandle, 69 kDebugDidHandle,
70 }; 70 };
71 71
72 } // namespace debug 72 } // namespace debug
73 } // namespace v8 73 } // namespace v8
74 74
75 #endif // V8_DEBUG_INTERFACE_TYPES_H_ 75 #endif // V8_DEBUG_INTERFACE_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698