| Index: net/filter/mock_source_stream.h
|
| diff --git a/net/filter/mock_source_stream.h b/net/filter/mock_source_stream.h
|
| index 9c88bef7cb806a3e75147b16b1c5df257b2c0e01..5dcd9d94d57c215b95e0ac533260b67ef72c6129 100644
|
| --- a/net/filter/mock_source_stream.h
|
| +++ b/net/filter/mock_source_stream.h
|
| @@ -14,6 +14,12 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/filter/source_stream.h"
|
|
|
| +namespace base {
|
| +namespace trace_event {
|
| +class MemoryAllocatorDump;
|
| +}
|
| +}
|
| +
|
| namespace net {
|
|
|
| class IOBuffer;
|
| @@ -36,6 +42,8 @@ class MockSourceStream : public SourceStream {
|
| const CompletionCallback& callback) override;
|
| std::string Description() const override;
|
|
|
| + void DumpMemoryStats(
|
| + base::trace_event::MemoryAllocatorDump* dump) const override;
|
| // Enqueues a result to be returned by |Read|. This method does not make a
|
| // copy of |data|, so |data| must outlive this object. If |mode| is SYNC,
|
| // |Read| will return the supplied data synchronously; otherwise, consumer
|
|
|