Chromium Code Reviews| Index: Source/core/inspector/InspectorInstrumentation.idl |
| diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl |
| index a5f935d818c91e23a16bc650516a5a377d704c97..6726b0039b7bb8c09a63aa58dd6050f5a0930e8d 100644 |
| --- a/Source/core/inspector/InspectorInstrumentation.idl |
| +++ b/Source/core/inspector/InspectorInstrumentation.idl |
| @@ -190,15 +190,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] LocalFrame*, const String& url, int lineNumber); |
| @@ -522,3 +513,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 didCreatePromise([Keep] ExecutionContext*, v8::Handle<v8::Object> promise); |
|
yurys
2014/03/05 15:23:35
We don't usually expose v8::* types outside of bin
Alexandra Mikhaylova
2014/03/07 11:11:44
Done.
|
| + |
| + [Debugger, Inline=FastReturn] |
| + void didUpdatePromiseParent(ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Object> parentPromise); |
| + |
| + [Debugger, Inline=FastReturn] |
| + void didUpdatePromiseState(ExecutionContext*, v8::Handle<v8::Object> promise, V8PromiseCustom::PromiseState, v8::Handle<v8::Value> result); |
| +} |