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

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

Issue 131823003: DevTools: Implement async call stacks for Promises. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 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: Source/core/inspector/AsyncCallStackTracker.h
diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h
index cf9e677cabc776f513eeba87fb2890245ff84aa5..2ccb4fb9168403bf574234e5ee685062e9940e7c 100644
--- a/Source/core/inspector/AsyncCallStackTracker.h
+++ b/Source/core/inspector/AsyncCallStackTracker.h
@@ -44,6 +44,7 @@ namespace WebCore {
class EventListener;
class EventTarget;
class ExecutionContext;
+class ExecutionContextTask;
class MutationObserver;
class XMLHttpRequest;
@@ -99,6 +100,9 @@ public:
void didClearAllMutationRecords(ExecutionContext*, MutationObserver*);
void willDeliverMutationRecords(ExecutionContext*, MutationObserver*);
+ void didPostPromiseTask(ExecutionContext*, ExecutionContextTask*, bool isResolved, const ScriptValue& callFrames);
+ void willPerformPromiseTask(ExecutionContext*, ExecutionContextTask*);
+
void didFireAsyncCall();
void clear();

Powered by Google App Engine
This is Rietveld 408576698