| 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..730b3a3990cfca884463597b3188699608393ea4 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -141,6 +141,9 @@ class URLRequestJob::URLRequestJobSourceStream : public SourceStream {
|
|
|
| std::string Description() const override { return std::string(); }
|
|
|
| + void DumpMemoryStats(
|
| + base::trace_event::MemoryAllocatorDump* dump) 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 +363,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,
|
|
|