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

Unified Diff: net/quic/chromium/quic_stream_factory_test.cc

Issue 2807493002: Track STL containers in QuicStreamFactory::DumpMemoryStats (Closed)
Patch Set: self Created 3 years, 8 months 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/quic/chromium/quic_stream_factory_test.cc
diff --git a/net/quic/chromium/quic_stream_factory_test.cc b/net/quic/chromium/quic_stream_factory_test.cc
index a7d40cfc2626d67a3b0a1e4ffc33a28b02eab45f..9dfb82e404de076a27423cb3b0a4614784843449 100644
--- a/net/quic/chromium/quic_stream_factory_test.cc
+++ b/net/quic/chromium/quic_stream_factory_test.cc
@@ -10,6 +10,7 @@
#include "base/bind.h"
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/strings/string_util.h"
@@ -195,6 +196,11 @@ class MockQuicServerInfo : public QuicServerInfo {
void Persist() override {}
void OnExternalCacheHit() override {}
+
+ size_t EstimateMemoryUsage() const override {
+ NOTREACHED();
+ return 0;
+ }
};
class MockQuicServerInfoFactory : public QuicServerInfoFactory {

Powered by Google App Engine
This is Rietveld 408576698