Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1066)

Unified Diff: net/filter/filter_source_stream_unittest.cc

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: rebased to 7f3d142161b15869f6bea58ac43c5f52ce5834ac Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/filter/filter_source_stream_unittest.cc
diff --git a/net/filter/filter_source_stream_unittest.cc b/net/filter/filter_source_stream_unittest.cc
index 70a6d12a19d70ebed9759697aa8aae7457baf4b5..31f63aae90993aa581c12cee655b6815b809d5a5 100644
--- a/net/filter/filter_source_stream_unittest.cc
+++ b/net/filter/filter_source_stream_unittest.cc
@@ -29,6 +29,8 @@ class TestFilterSourceStreamBase : public FilterSourceStream {
: FilterSourceStream(SourceStream::TYPE_NONE, std::move(upstream)) {}
~TestFilterSourceStreamBase() override { DCHECK(buffer_.empty()); }
std::string GetTypeAsString() const override { return type_string_; }
+ void DumpMemoryStatsImpl(
+ base::trace_event::MemoryAllocatorDump* dump) const override {}
void set_type_string(const std::string& type_string) {
type_string_ = type_string;
@@ -206,6 +208,8 @@ class ErrorFilterSourceStream : public FilterSourceStream {
return ERR_CONTENT_DECODING_FAILED;
}
std::string GetTypeAsString() const override { return ""; }
+ void DumpMemoryStatsImpl(
+ base::trace_event::MemoryAllocatorDump* dump) const override {}
private:
DISALLOW_COPY_AND_ASSIGN(ErrorFilterSourceStream);

Powered by Google App Engine
This is Rietveld 408576698