Chromium Code Reviews| Index: Source/core/inspector/InspectorInstrumentation.idl |
| diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl |
| index dc929693ed7829b5172d495439d58da9e523262a..5e932d82da2c926280d88b3b2d8b0015cdfe0afb 100644 |
| --- a/Source/core/inspector/InspectorInstrumentation.idl |
| +++ b/Source/core/inspector/InspectorInstrumentation.idl |
| @@ -202,15 +202,6 @@ interface InspectorInstrumentation { |
| [Debugger, Inline=FastReturn] |
| void didDeliverMutationRecords(ExecutionContext*); |
| - [Debugger, Inline=FastReturn] |
| - void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, bool isResolved); |
| - |
| - [Debugger, Inline=FastReturn] |
| - InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*); |
| - |
| - [Debugger, Inline=FastReturn] |
| - void didPerformPromiseTask(const InspectorInstrumentationCookie&); |
| - |
| [Timeline, Inline=FastReturn] |
| InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const String& url, int lineNumber); |
| @@ -536,3 +527,28 @@ interface InspectorCanvasInstrumentation { |
| [Canvas] |
| ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const ScriptObject&); |
| } |
| + |
| + |
| +interface InspectorPromiseInstrumentation { |
| + |
| +#include <v8.h> |
| +#include "bindings/v8/custom/V8PromiseCustom.h" |
| + |
| + [Debugger, Inline=FastReturn] |
| + void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, bool isResolved); |
| + |
| + [Debugger, Inline=FastReturn] |
| + InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*); |
| + |
| + [Debugger, Inline=FastReturn] |
| + void didPerformPromiseTask(const InspectorInstrumentationCookie&); |
| + |
| + [Debugger, Inline=FastReturn] |
| + void addPromise([Keep] ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Object> parentPromise, V8PromiseCustom::PromiseState state = V8PromiseCustom::Pending); |
|
aandrey
2014/02/26 16:11:30
addPromise -> didCreatePromise
Alexandra Mikhaylova
2014/02/28 13:52:05
Done.
|
| + |
| + [Debugger, Inline=FastReturn] |
| + void setPromiseParent([Keep] ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Object> parentPromise); |
|
aandrey
2014/02/26 16:11:30
didUpdatePromiseParent
Alexandra Mikhaylova
2014/02/28 13:52:05
Done.
|
| + |
| + [Debugger, Inline=FastReturn] |
| + void setPromiseStateAndResult([Keep] ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Value> result, V8PromiseCustom::PromiseState state); |
|
aandrey
2014/02/26 16:11:30
didUpdatePromiseState
Alexandra Mikhaylova
2014/02/28 13:52:05
Done.
|
| +} |