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

Unified Diff: net/filter/filter_source_stream.cc

Issue 2540233002: Instrument SourceStream using MemoryDumpProvider
Patch Set: Rebased 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
« no previous file with comments | « net/filter/filter_source_stream.h ('k') | net/filter/sdch_source_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7fab2c35ab1115ae815dae4f56e97790f69c72fa 100644
--- a/net/filter/filter_source_stream.cc
+++ b/net/filter/filter_source_stream.cc
@@ -67,6 +67,13 @@ std::string FilterSourceStream::Description() const {
return next_type_string + "," + GetTypeAsString();
}
+void FilterSourceStream::DumpMemoryStats(
+ base::trace_event::ProcessMemoryDump* pmd,
+ const std::string& parent_dump_absolute_name) const {
+ DumpMemoryStatsImpl(pmd, parent_dump_absolute_name);
+ upstream_->DumpMemoryStats(pmd, parent_dump_absolute_name);
+}
+
int FilterSourceStream::DoLoop(int result) {
DCHECK_NE(STATE_NONE, next_state_);
@@ -173,4 +180,8 @@ bool FilterSourceStream::NeedMoreData() const {
return !upstream_end_reached_;
}
+void FilterSourceStream::DumpMemoryStatsImpl(
+ base::trace_event::ProcessMemoryDump* pmd,
+ const std::string& parent_dump_absolute_name) const {}
+
} // namespace net
« no previous file with comments | « net/filter/filter_source_stream.h ('k') | net/filter/sdch_source_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698