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

Unified Diff: Source/core/inspector/ScriptDebugListener.h

Issue 433653003: Support Promises event-based instrumentation on backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove TODO Created 6 years, 5 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: Source/core/inspector/ScriptDebugListener.h
diff --git a/Source/core/inspector/ScriptDebugListener.h b/Source/core/inspector/ScriptDebugListener.h
index 0a38a4c1a2925b06be545e0e5cd6236ce39a77f3..58d7045b1b1dabf9e5b809793cf469c5118ac6be 100644
--- a/Source/core/inspector/ScriptDebugListener.h
+++ b/Source/core/inspector/ScriptDebugListener.h
@@ -80,6 +80,9 @@ public:
virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrames, const ScriptValue& exception, const Vector<String>& hitBreakpoints) = 0;
virtual void didContinue() = 0;
virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eventType, const String& eventName, int id) = 0;
+ virtual void didReceiveV8NewPromiseEvent(ExecutionContext*, v8::Handle<v8::Object> promise) = 0;
+ virtual void didReceiveV8UpdatePromiseEvent(ExecutionContext*, v8::Handle<v8::Object> promise, int status, v8::Handle<v8::Value>) = 0;
+ virtual void didReceiveV8ChainPromiseEvent(ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Object> parentPromise) = 0;
};
} // namespace blink
« Source/core/inspector/PromiseTracker.cpp ('K') | « Source/core/inspector/PromiseTracker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698