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

Unified Diff: net/quic/chromium/quic_server_info.h

Issue 2807493002: Track STL containers in QuicStreamFactory::DumpMemoryStats (Closed)
Patch Set: Address ssid comments 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_server_info.h
diff --git a/net/quic/chromium/quic_server_info.h b/net/quic/chromium/quic_server_info.h
index 77fb0fc1d755af42c454ebb57251a16207abbd3a..eab5366d92961432124df90a25f2f649617db1f5 100644
--- a/net/quic/chromium/quic_server_info.h
+++ b/net/quic/chromium/quic_server_info.h
@@ -102,6 +102,9 @@ class QUIC_EXPORT_PRIVATE QuicServerInfo {
// Called whenever an external cache reuses quic server config.
virtual void OnExternalCacheHit() = 0;
+ // Returns the size of dynamically allocated memory in bytes.
+ virtual size_t EstimateMemoryUsage() const = 0;
+
struct State {
State();
~State();

Powered by Google App Engine
This is Rietveld 408576698