Chromium Code Reviews| Index: Source/core/inspector/InspectorDebuggerAgent.h |
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h |
| index 243b660e64c0f6fd6b81691311de667c99100989..5dc7ea809cb79f181cf025b136200713f3c61489 100644 |
| --- a/Source/core/inspector/InspectorDebuggerAgent.h |
| +++ b/Source/core/inspector/InspectorDebuggerAgent.h |
| @@ -37,6 +37,7 @@ |
| #include "core/inspector/ConsoleAPITypes.h" |
| #include "core/inspector/InjectedScript.h" |
| #include "core/inspector/InspectorBaseAgent.h" |
| +#include "core/inspector/PromiseOfficer.h" |
| #include "core/inspector/ScriptBreakpoint.h" |
| #include "core/inspector/ScriptDebugListener.h" |
| #include "wtf/Forward.h" |
| @@ -161,6 +162,9 @@ public: |
| void didPostPromiseTask(ExecutionContext*, ExecutionContextTask*, bool isResolved); |
| void willPerformPromiseTask(ExecutionContext*, ExecutionContextTask*); |
| void didPerformPromiseTask(); |
| + void didCreatePromise(ExecutionContext*, v8::Handle<v8::Object> promise, v8::Handle<v8::Object> parentPromise, V8PromiseCustom::PromiseState state = V8PromiseCustom::Pending); |
|
aandrey
2014/02/28 16:08:13
we can remove the "state" argument - a newly creat
Alexandra Mikhaylova
2014/03/03 14:04:25
Removed it also from PromiseOfficer.
|
| + void didUpdatePromiseParent(v8::Handle<v8::Object> promise, v8::Handle<v8::Object> parentPromise); |
| + void didUpdatePromiseState(v8::Handle<v8::Object> promise, V8PromiseCustom::PromiseState state, v8::Handle<v8::Value> result); |
| bool canBreakProgram(); |
| void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); |
| void scriptExecutionBlockedByCSP(const String& directiveText); |
| @@ -248,6 +252,7 @@ private: |
| bool m_skipAllPauses; |
| OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
| AsyncCallStackTracker m_asyncCallStackTracker; |
| + PromiseOfficer m_promiseOfficer; |
| }; |
| } // namespace WebCore |