| 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 33fb9afc4a40c405377fa097bc689572ef71bb6e..fbe806facf5d26ff8eb8a33d9b25dd83a0f79758 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -141,6 +141,10 @@ class URLRequestJob::URLRequestJobSourceStream : public SourceStream {
|
|
|
| std::string Description() const override { return std::string(); }
|
|
|
| + void DumpMemoryStats(
|
| + base::trace_event::ProcessMemoryDump* pmd,
|
| + const std::string& parent_dump_absolute_name) const override {}
|
| +
|
| private:
|
| // It is safe to keep a raw pointer because |job_| owns the last stream which
|
| // indirectly owns |this|. Therefore, |job_| will not be destroyed when |this|
|
| @@ -360,6 +364,13 @@ void URLRequestJob::GetConnectionAttempts(ConnectionAttempts* out) const {
|
| out->clear();
|
| }
|
|
|
| +void URLRequestJob::DumpMemoryStats(
|
| + base::trace_event::ProcessMemoryDump* pmd,
|
| + const std::string& parent_dump_absolute_name) const {
|
| + if (source_stream_)
|
| + source_stream_->DumpMemoryStats(pmd, parent_dump_absolute_name);
|
| +}
|
| +
|
| // static
|
| GURL URLRequestJob::ComputeReferrerForRedirect(
|
| URLRequest::ReferrerPolicy policy,
|
|
|