| 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 2341999ae5493b1e205343963b41d8cbc68549de..1c4265e7ca65a059e6106c73dfd798a76545dbba 100644
|
| --- a/net/url_request/url_request_job.h
|
| +++ b/net/url_request/url_request_job.h
|
| @@ -26,6 +26,12 @@
|
| #include "net/url_request/url_request.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace base {
|
| +namespace trace_event {
|
| +class ProcessMemoryDump;
|
| +}
|
| +}
|
| +
|
| namespace net {
|
|
|
| class AuthChallengeInfo;
|
| @@ -228,6 +234,12 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver {
|
| // has failed or the response headers have been received.
|
| virtual void GetConnectionAttempts(ConnectionAttempts* out) const;
|
|
|
| + // Dumps memory allocation stats. |parent_dump_absolute_name| is the name
|
| + // used by the parent MemoryAllocatorDump in the memory dump hierarchy.
|
| + virtual void DumpMemoryStats(
|
| + base::trace_event::ProcessMemoryDump* pmd,
|
| + const std::string& parent_dump_absolute_name) const;
|
| +
|
| // Given |policy|, |referrer|, and |redirect_destination|, returns the
|
| // referrer URL mandated by |request|'s referrer policy.
|
| static GURL ComputeReferrerForRedirect(URLRequest::ReferrerPolicy policy,
|
|
|