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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h

Issue 2649323005: Cleanly detach XHR and other pending loader clients from Inspector. (Closed)
Patch Set: rebalance XHR disposal steps Created 3 years, 11 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: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index c38e1928723bee37cec71e158137343247549afa..68b332fa7b4f93af0cf9938f8f20ffa6a8772319 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -152,6 +152,9 @@ class CORE_EXPORT InspectorNetworkAgent final
const String& data);
void didFinishEventSourceRequest(ThreadableLoaderClient*);
+ // Detach and remove all references to the given client.
+ void detachClientRequest(ThreadableLoaderClient*);
+
void willDestroyResource(Resource*);
void applyUserAgentOverride(String* userAgent);

Powered by Google App Engine
This is Rietveld 408576698