| Index: net/filter/source_stream.h
|
| diff --git a/net/filter/source_stream.h b/net/filter/source_stream.h
|
| index be30c141a432eb6dd0a8a9e0304b28f8af531f79..49a771e06419515f9430c94a8979f5de4c3365e5 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,12 @@ 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. Default implementation does
|
| + // nothing.
|
| + virtual void DumpMemoryStats(
|
| + base::trace_event::MemoryAllocatorDump* dump) const {}
|
| +
|
| SourceType type() const { return type_; }
|
|
|
| private:
|
|
|