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

Unified Diff: net/url_request/url_request_job.h

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: Fix net::SourceStream 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.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index 288644e8124c681e090838d7741644cb4530d785..72d5abb33ab644453fb4e41ecae28ea05f309fc6 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -229,6 +229,11 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
// has failed or the response headers have been received.
virtual void GetConnectionAttempts(ConnectionAttempts* out) const;
+ // Called by URLRequest to dump memory allocation stats. |dump| is the memory
+ // allocator dump of the parent in the memory dump hierarchy.
+ virtual void DumpMemoryStats(
+ base::trace_event::MemoryAllocatorDump* dump) const;
+
// Given |policy|, |referrer|, and |redirect_destination|, returns the
// referrer URL mandated by |request|'s referrer policy.
static GURL ComputeReferrerForRedirect(URLRequest::ReferrerPolicy policy,

Powered by Google App Engine
This is Rietveld 408576698