Index: Source/core/inspector/AsyncCallStackTracker.h |
diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h |
index 680098c605615eb3eaca060ceb39f1318016e519..b8616ca0396406317ec66404a0ce2d0e58d72325 100644 |
--- a/Source/core/inspector/AsyncCallStackTracker.h |
+++ b/Source/core/inspector/AsyncCallStackTracker.h |
@@ -44,6 +44,7 @@ namespace WebCore { |
class EventListener; |
class EventTarget; |
class ExecutionContext; |
+class XMLHttpRequest; |
class AsyncCallStackTracker { |
WTF_MAKE_NONCOPYABLE(AsyncCallStackTracker); |
@@ -90,12 +91,17 @@ public: |
void didRemoveAllEventListeners(EventTarget*); |
void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture); |
+ void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); |
+ |
void didFireAsyncCall(); |
void clear(); |
private: |
+ void willHandleXHREvent(XMLHttpRequest*, EventTarget*, const AtomicString& eventType); |
+ |
PassRefPtr<AsyncCallChain> createAsyncCallChain(const String& description, const ScriptValue& callFrames); |
void setCurrentAsyncCallChain(PassRefPtr<AsyncCallChain>); |
+ void clearCurrentAsyncCallChain(); |
static void ensureMaxAsyncCallChainDepth(AsyncCallChain*, unsigned); |
static bool validateCallFrames(const ScriptValue& callFrames); |