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

Unified Diff: net/http2/hpack/decoder/http2_hpack_decoder.h

Issue 2665283003: Improve memory estimate of SpdySessionPool in net/ MemoryDumpProvider. (Closed)
Patch Set: rebased Created 3 years, 10 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
« no previous file with comments | « net/http2/hpack/decoder/hpack_whole_entry_buffer.cc ('k') | net/http2/hpack/decoder/http2_hpack_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http2/hpack/decoder/http2_hpack_decoder.h
diff --git a/net/http2/hpack/decoder/http2_hpack_decoder.h b/net/http2/hpack/decoder/http2_hpack_decoder.h
index fff1320b4af63a7bcfb1ab666cd0666754928b7e..d053c3acb52919f52e23786843a647c3c17e5ad3 100644
--- a/net/http2/hpack/decoder/http2_hpack_decoder.h
+++ b/net/http2/hpack/decoder/http2_hpack_decoder.h
@@ -95,6 +95,9 @@ class NET_EXPORT_PRIVATE Http2HpackDecoder {
// Was an error detected?
bool error_detected();
+ // Returns the estimate of dynamically allocated memory in bytes.
+ size_t EstimateMemoryUsage() const;
+
private:
friend class test::Http2HpackDecoderPeer;
« no previous file with comments | « net/http2/hpack/decoder/hpack_whole_entry_buffer.cc ('k') | net/http2/hpack/decoder/http2_hpack_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698