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

Unified Diff: net/filter/source_stream.cc

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: Fix test 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/source_stream.cc
diff --git a/net/filter/source_stream.cc b/net/filter/source_stream.cc
index e2c4e6e2539fddfe2a54c19ce35fa39be5b9db4f..c4428781cf5923227f6fee7600aa4031e42b24fa 100644
--- a/net/filter/source_stream.cc
+++ b/net/filter/source_stream.cc
@@ -4,6 +4,8 @@
#include "net/filter/source_stream.h"
+#include "base/trace_event/memory_allocator_dump.h"
+
namespace net {
SourceStream::SourceStream(SourceType type) : type_(type) {}
@@ -14,4 +16,9 @@ std::string SourceStream::Description() const {
return "";
}
+void SourceStream::DumpMemoryStats(
+ base::trace_event::MemoryAllocatorDump* dump) const {
+ // Default implementation does nothing.
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698