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..b8983ad7f17fec52d385bcc92b91ebbbec1001dc 100644 |
| --- a/Source/core/inspector/InspectorInstrumentation.idl |
| +++ b/Source/core/inspector/InspectorInstrumentation.idl |
| @@ -62,6 +62,8 @@ |
| interface InspectorInstrumentation { |
| +#include <v8.h> |
|
aandrey
2014/02/25 12:36:07
introduce new interface InspectorPromiseInstrument
Alexandra Mikhaylova
2014/02/26 14:08:41
Done.
|
| +#include "bindings/v8/custom/V8PromiseCustom.h" |
| #include "core/dom/PseudoElement.h" |
| [Page, Inspector, PageDebugger, PageRuntime] |
| @@ -211,6 +213,15 @@ interface InspectorInstrumentation { |
| [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); |
| + |
| + [Debugger, Inline=FastReturn] |
| + void updatePromiseParent([Keep] ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Object> newParentPromise); |
|
aandrey
2014/02/25 12:36:07
newParentPromise -> parent
Alexandra Mikhaylova
2014/02/26 14:08:41
I've done some renaming.
|
| + |
| + [Debugger, Inline=FastReturn] |
| + void updatePromiseState([Keep] ExecutionContext*, v8::Handle<v8::Object> promise, V8PromiseCustom::PromiseState newState); |
| + |
| [Timeline, Inline=FastReturn] |
| InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const String& url, int lineNumber); |