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

Unified Diff: net/spdy/spdy_framer_decoder_adapter.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/spdy/spdy_framer.cc ('k') | net/spdy/spdy_framer_decoder_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer_decoder_adapter.h
diff --git a/net/spdy/spdy_framer_decoder_adapter.h b/net/spdy/spdy_framer_decoder_adapter.h
index 293b6c3537e010ab90fd1cc833b34d040bd2b7ea..84f709dd02d2a9ed356f6fb7f8ac3f8712264b0b 100644
--- a/net/spdy/spdy_framer_decoder_adapter.h
+++ b/net/spdy/spdy_framer_decoder_adapter.h
@@ -75,6 +75,9 @@ class SpdyFramerDecoderAdapter {
// has responded with an HTTP/1.1 (or earlier) response.
virtual bool probable_http_response() const = 0;
+ // Returns the estimate of dynamically allocated memory in bytes.
+ virtual size_t EstimateMemoryUsage() const = 0;
+
private:
SpdyFramerVisitorInterface* visitor_ = nullptr;
SpdyFramerDebugVisitorInterface* debug_visitor_ = nullptr;
« no previous file with comments | « net/spdy/spdy_framer.cc ('k') | net/spdy/spdy_framer_decoder_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698