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

Unified Diff: net/url_request/url_request_job.h

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: self review 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
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 610ce3323e6ea3bf2bc905194d78fe974275a572..de1a00997ee108aa7b98e9c2f7e08f808e10e56e 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -228,6 +228,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