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

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

Issue 2665283003: Improve memory estimate of SpdySessionPool in net/ MemoryDumpProvider. (Closed)
Patch Set: address bnc comments 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.h
diff --git a/net/spdy/hpack/hpack_static_table.h b/net/spdy/hpack/hpack_static_table.h
index 923913487a739c713eac7ec91cf3f3481f4849b5..328ad2932f3e9e93dea12515b3176584b76c5288 100644
--- a/net/spdy/hpack/hpack_static_table.h
+++ b/net/spdy/hpack/hpack_static_table.h
@@ -42,6 +42,9 @@ class NET_EXPORT_PRIVATE HpackStaticTable {
return static_name_index_;
}
+ // Returns the estimate of dynamically allocated memory in bytes.
+ size_t EstimateMemoryUsage() const;
+
private:
HpackHeaderTable::EntryTable static_entries_;
HpackHeaderTable::UnorderedEntrySet static_index_;

Powered by Google App Engine
This is Rietveld 408576698