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

Unified Diff: net/spdy/spdy_write_queue.cc

Issue 2665283003: Improve memory estimate of SpdySessionPool in net/ MemoryDumpProvider. (Closed)
Patch Set: 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
« net/spdy/spdy_session.cc ('K') | « net/spdy/spdy_write_queue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_write_queue.cc
diff --git a/net/spdy/spdy_write_queue.cc b/net/spdy/spdy_write_queue.cc
index 50df9440a777541ffcf4cbc66c45eb4f08243a02..2c583e5a9a3c32d474c8ea0412ce1b2794a17c7e 100644
--- a/net/spdy/spdy_write_queue.cc
+++ b/net/spdy/spdy_write_queue.cc
@@ -155,4 +155,10 @@ void SpdyWriteQueue::Clear() {
removing_writes_ = false;
}
+size_t SpdyWriteQueue::EstimateMemoryUsage() const {
+ // TODO(xunjieli): return allocation from |queue_| once
+ // memory_usage_estimator.h supports std::deque. crbug.com/669108.
Bence 2017/02/02 14:15:19 Nit: https://crbug.com/669108.
xunjieli 2017/02/02 14:53:42 Done.
+ return 0;
+}
+
} // namespace net
« net/spdy/spdy_session.cc ('K') | « net/spdy/spdy_write_queue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698