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

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

Issue 2665283003: Improve memory estimate of SpdySessionPool in net/ MemoryDumpProvider. (Closed)
Patch Set: Address Bence comments 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
Index: net/spdy/hpack/hpack_decoder.h
diff --git a/net/spdy/hpack/hpack_decoder.h b/net/spdy/hpack/hpack_decoder.h
index 172892ffa509cab312d40b5a88744f61952bdb5e..76d18b7730d9e928bad8d1a94b6d25c55ca44fda 100644
--- a/net/spdy/hpack/hpack_decoder.h
+++ b/net/spdy/hpack/hpack_decoder.h
@@ -78,6 +78,8 @@ class NET_EXPORT_PRIVATE HpackDecoder : public HpackDecoderInterface {
void set_max_decode_buffer_size_bytes(
size_t max_decode_buffer_size_bytes) override;
+ size_t EstimateMemoryUsage() const override;
+
private:
// Adds the header representation to |decoded_block_|, applying the
// following rules:

Powered by Google App Engine
This is Rietveld 408576698