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

Unified Diff: net/quic/quic_connection_stats.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/quic/quic_connection_stats.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_stats.cc
diff --git a/net/quic/quic_connection_stats.cc b/net/quic/quic_connection_stats.cc
index 6625c6162cce8ffbabae4b978d4c42fd564cae08..10425ded048f39c2d190d2b9ef78583e1e47f123 100644
--- a/net/quic/quic_connection_stats.cc
+++ b/net/quic/quic_connection_stats.cc
@@ -33,7 +33,7 @@ QuicConnectionStats::QuicConnectionStats()
min_rtt_us(0),
srtt_us(0),
max_packet_size(0),
- estimated_bandwidth(0),
+ estimated_bandwidth(QuicBandwidth::Zero()),
packets_reordered(0),
max_sequence_reordering(0),
max_time_reordering_us(0),
@@ -70,7 +70,7 @@ ostream& operator<<(ostream& os, const QuicConnectionStats& s) {
<< ", min_rtt(us): " << s.min_rtt_us
<< ", srtt(us): " << s.srtt_us
<< ", max packet size: " << s.max_packet_size
- << ", estimated bandwidth: " << s.estimated_bandwidth
+ << ", estimated bandwidth: " << s.estimated_bandwidth.ToBytesPerSecond()
<< ", tcp_loss_events: " << s.tcp_loss_events
<< ", packets reordered: " << s.packets_reordered
<< ", max sequence reordering: " << s.max_sequence_reordering
« no previous file with comments | « net/quic/quic_connection_stats.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698