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

Unified Diff: src/debug/debug.h

Issue 2650803003: [inspector] change target promise for kDebugWillHandle & kDebugDidHandle (Closed)
Patch Set: added missing guard in asyncTaskCreated 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 side-by-side diff with in-line comments
Download patch
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index e8168b3a0bc77600942786a0bb2f2a3cbc17ec6f..810f8d2215b0e3daf90db66f4eb514da2325defb 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -72,9 +72,6 @@ enum DebugBreakType {
DEBUG_BREAK_SLOT_AT_TAIL_CALL,
};
-const int kDebugPromiseNoID = 0;
-const int kDebugPromiseFirstID = 1;
-
class BreakLocation {
public:
static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
@@ -354,6 +351,9 @@ class Debug {
void RecordGenerator(Handle<JSGeneratorObject> generator_object);
+ void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise,
+ Handle<Object> parent);
+
int NextAsyncTaskId(Handle<JSObject> promise);
bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/debug/debug.cc » ('j') | src/runtime/runtime-promise.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698