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

Unified Diff: net/spdy/spdy_framer.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/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index ca0521d6013b28e6e632def059f292a33bc1665b..0ede9e3d5e32d155156cd2cf1d64e3fee8f703f8 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -540,6 +540,9 @@ class NET_EXPORT_PRIVATE SpdyFramer {
return GetHpackDecoder();
}
+ // Returns the estimate of dynamically allocated memory in bytes.
+ size_t EstimateMemoryUsage() const;
+
protected:
friend class BufferedSpdyFramer;
friend class HttpNetworkLayer; // This is temporary for the server.

Powered by Google App Engine
This is Rietveld 408576698