Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: Source/core/inspector/AsyncCallStackTracker.h

Issue 383363002: DevTools: Fix async stacks instrumentation for XHRs. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/AsyncCallStackTracker.h
diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h
index e049395efd94b4131ad867dd810873cbf7ac726b..900c79d9384a7f607e1ae377a654c875448342cd 100644
--- a/Source/core/inspector/AsyncCallStackTracker.h
+++ b/Source/core/inspector/AsyncCallStackTracker.h
@@ -92,7 +92,9 @@ public:
void didEnqueueEvent(EventTarget*, Event*, const ScriptValue& callFrames);
void didRemoveEvent(EventTarget*, Event*);
void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture);
+
void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames);
+ void didLoadXHR(XMLHttpRequest*);
void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const ScriptValue& callFrames);
bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*);
@@ -110,7 +112,7 @@ public:
void clear();
private:
- void willHandleXHREvent(XMLHttpRequest*, EventTarget*, Event*);
+ void willHandleXHREvent(XMLHttpRequest*, Event*);
PassRefPtr<AsyncCallChain> createAsyncCallChain(const String& description, const ScriptValue& callFrames);
void setCurrentAsyncCallChain(ExecutionContext*, PassRefPtr<AsyncCallChain>);

Powered by Google App Engine
This is Rietveld 408576698