| Index: Source/core/inspector/AsyncCallStackTracker.h
|
| diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h
|
| index e049395efd94b4131ad867dd810873cbf7ac726b..640fb985a0cab7509e35b33cc9c246248516c9e7 100644
|
| --- a/Source/core/inspector/AsyncCallStackTracker.h
|
| +++ b/Source/core/inspector/AsyncCallStackTracker.h
|
| @@ -41,6 +41,7 @@
|
|
|
| namespace WebCore {
|
|
|
| +class AsyncFileSystemCallbacks;
|
| class Event;
|
| class EventListener;
|
| class EventTarget;
|
| @@ -103,9 +104,16 @@ public:
|
| void didKillAllExecutionContextTasks(ExecutionContext*);
|
| void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask*);
|
|
|
| + void didEnqueueAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCallbacks*, const ScriptValue& callFrames);
|
| + void didRemoveAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCallbacks*);
|
| + void willHandleAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCallbacks*, bool hasMore);
|
| +
|
| void didEnqueueV8AsyncTask(ExecutionContext*, const String& eventName, int id, const ScriptValue& callFrames);
|
| void willHandleV8AsyncTask(ExecutionContext*, const String& eventName, int id);
|
|
|
| + void willRescheduleAsyncCallChain();
|
| + void didRescheduleAsyncCallChain();
|
| +
|
| void didFireAsyncCall();
|
| void clear();
|
|
|
| @@ -124,6 +132,8 @@ private:
|
| unsigned m_maxAsyncCallStackDepth;
|
| RefPtr<AsyncCallChain> m_currentAsyncCallChain;
|
| unsigned m_nestedAsyncCallCount;
|
| + bool m_rescheduleNextAsyncCallChain;
|
| + RefPtr<AsyncCallChain> m_rescheduledAsyncCallChain;
|
| typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDataMap;
|
| ExecutionContextDataMap m_executionContextDataMap;
|
| };
|
|
|