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

Unified Diff: net/url_request/url_request_context.cc

Issue 2540233002: Instrument SourceStream using MemoryDumpProvider
Patch Set: Rebased Created 4 years 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
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index 42bcc899f06335addb72b43c43b1e6d9286143d4..7075c7effd44f55bbcb8013e1bc7928984304b97 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -135,6 +135,9 @@ bool URLRequestContext::OnMemoryDump(
network_session->DumpMemoryStats(pmd, dump->absolute_name());
}
SSLClientSocketImpl::DumpSSLClientSessionMemoryStats(pmd);
+ for (const auto* url_request : *url_requests_.get()) {
+ url_request->DumpMemoryStats(pmd, dump->absolute_name());
+ }
return true;
}
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698