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

Unified Diff: net/filter/filter_source_stream.cc

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: self review Created 4 years 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.cc
diff --git a/net/filter/filter_source_stream.cc b/net/filter/filter_source_stream.cc
index 603bd703c8e7311744fc74e0ae868a383d0cb518..fd8fdfa1501d2b2ad086d0df480aebb18ba91968 100644
--- a/net/filter/filter_source_stream.cc
+++ b/net/filter/filter_source_stream.cc
@@ -67,6 +67,12 @@ std::string FilterSourceStream::Description() const {
return next_type_string + "," + GetTypeAsString();
}
+void FilterSourceStream::DumpMemoryStats(
+ base::trace_event::MemoryAllocatorDump* dump) const {
+ DumpMemoryStatsImpl(dump);
+ upstream_->DumpMemoryStats(dump);
+}
+
int FilterSourceStream::DoLoop(int result) {
DCHECK_NE(STATE_NONE, next_state_);
@@ -173,4 +179,7 @@ bool FilterSourceStream::NeedMoreData() const {
return !upstream_end_reached_;
}
+void FilterSourceStream::DumpMemoryStatsImpl(
+ base::trace_event::MemoryAllocatorDump* dump) const {}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698