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

Unified Diff: net/spdy/spdy_session_key.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_session.cc ('k') | net/spdy/spdy_session_key.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_key.h
diff --git a/net/spdy/spdy_session_key.h b/net/spdy/spdy_session_key.h
index 31d61a3e8afb389c8dcfd2958e3b6e9c5768c814..f6a823803a970138d58931e5b5a09270e0cbf04c 100644
--- a/net/spdy/spdy_session_key.h
+++ b/net/spdy/spdy_session_key.h
@@ -49,6 +49,9 @@ class NET_EXPORT_PRIVATE SpdySessionKey {
return privacy_mode_;
}
+ // Returns the estimate of dynamically allocated memory in bytes.
+ size_t EstimateMemoryUsage() const;
+
private:
HostPortProxyPair host_port_proxy_pair_;
// If enabled, then session cannot be tracked by the server.
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698