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

Unified Diff: net/quic/chromium/quic_stream_factory.cc

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/proxy/proxy_server.cc ('k') | net/spdy/buffered_spdy_framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_stream_factory.cc
diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
index 58ce8e45653d37f71eadbf26f23aefbe60163e36..60a70d0854596d33b48cfb497ae2f9cf13fcc32c 100644
--- a/net/quic/chromium/quic_stream_factory.cc
+++ b/net/quic/chromium/quic_stream_factory.cc
@@ -207,7 +207,7 @@ class ServerIdOriginFilter : public QuicCryptoClientConfig::ServerIdFilter {
// Returns the estimate of dynamically allocated memory of |server_id|.
size_t EstimateServerIdMemoryUsage(const QuicServerId& server_id) {
- return HostPortPair::EstimateMemoryUsage(server_id.host_port_pair());
+ return base::trace_event::EstimateMemoryUsage(server_id.host_port_pair());
}
} // namespace
@@ -1093,7 +1093,7 @@ bool QuicStreamFactory::QuicSessionKey::operator==(
}
size_t QuicStreamFactory::QuicSessionKey::EstimateMemoryUsage() const {
- return HostPortPair::EstimateMemoryUsage(destination_) +
+ return base::trace_event::EstimateMemoryUsage(destination_) +
EstimateServerIdMemoryUsage(server_id_);
}
« no previous file with comments | « net/proxy/proxy_server.cc ('k') | net/spdy/buffered_spdy_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698