| Index: net/filter/source_stream.h
|
| diff --git a/net/filter/source_stream.h b/net/filter/source_stream.h
|
| index be30c141a432eb6dd0a8a9e0304b28f8af531f79..316d65bc208fe3c656d5f28e5c7685ebc4c5d0bf 100644
|
| --- a/net/filter/source_stream.h
|
| +++ b/net/filter/source_stream.h
|
| @@ -14,6 +14,12 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/base/net_export.h"
|
|
|
| +namespace base {
|
| +namespace trace_event {
|
| +class MemoryAllocatorDump;
|
| +}
|
| +}
|
| +
|
| namespace net {
|
|
|
| class IOBuffer;
|
| @@ -54,6 +60,11 @@ class NET_EXPORT_PRIVATE SourceStream {
|
| // logging.
|
| virtual std::string Description() const = 0;
|
|
|
| + // Called by URLRequestJob to dump memory allocation stats. |dump| is the
|
| + // memory allocator dump of the URLRequestJob.
|
| + virtual void DumpMemoryStats(
|
| + base::trace_event::MemoryAllocatorDump* dump) const = 0;
|
| +
|
| SourceType type() const { return type_; }
|
|
|
| private:
|
|
|