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

Unified Diff: net/spdy/hpack/hpack_static_table.cc

Issue 2665283003: Improve memory estimate of SpdySessionPool in net/ MemoryDumpProvider. (Closed)
Patch Set: Created 3 years, 11 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/spdy/hpack/hpack_static_table.cc
diff --git a/net/spdy/hpack/hpack_static_table.cc b/net/spdy/hpack/hpack_static_table.cc
index 5588ebe183800bbcda42786ea20be6bd9ca1552c..ed6a956d4e51759756b41f44f45d6031f9a76ba7 100644
--- a/net/spdy/hpack/hpack_static_table.cc
+++ b/net/spdy/hpack/hpack_static_table.cc
@@ -39,4 +39,10 @@ bool HpackStaticTable::IsInitialized() const {
return !static_entries_.empty();
}
+size_t HpackStaticTable::EstimateMemoryUsage() const {
+ // TODO(xunjieli): return the allocation of |static_entries_| when std::deque
Bence 2017/02/02 14:15:19 Please add reference to https://crbug.com/669108.
xunjieli 2017/02/02 14:53:42 Done.
+ // is supported in memory_usage_estimator.h.
+ return 0;
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698