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

Unified Diff: net/url_request/url_request_job.cc

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: Fix test Created 4 years, 1 month 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: net/url_request/url_request_job.cc
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index b315664de1ac52eafb49b36360be97e608d87ecc..5097156bfc4a3508d316f957e7fe1ec06a26b4a9 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -360,6 +360,12 @@ void URLRequestJob::GetConnectionAttempts(ConnectionAttempts* out) const {
out->clear();
}
+void URLRequestJob::DumpMemoryStats(
+ base::trace_event::MemoryAllocatorDump* dump) const {
+ if (source_stream_)
+ source_stream_->DumpMemoryStats(dump);
+}
+
// static
GURL URLRequestJob::ComputeReferrerForRedirect(
URLRequest::ReferrerPolicy policy,

Powered by Google App Engine
This is Rietveld 408576698