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

Unified Diff: net/quic/quic_connection.cc

Issue 1305293004: Notfiy NQE of QUIC RTT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years, 3 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/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index ac0bc7b7a3caa7bcf96c50fd2527bce102b8056b..22835b00abbd3572972fc5a5be9eabdd72f12575 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1828,6 +1828,8 @@ void QuicConnection::OnRttChange() {
rtt = QuicTime::Delta::FromMicroseconds(
sent_packet_manager_.GetRttStats()->initial_rtt_us());
}
+ if (debug_visitor_ != nullptr)
Ryan Sleevi 2015/09/18 17:36:45 if (debug_visitor_) It's cleaner that way, plus w
tbansal1 2015/09/18 17:59:59 Done.
+ debug_visitor_->OnRttChanged(rtt);
Ryan Sleevi 2015/09/18 17:36:45 It doesn't seem like it really makes sense to coup
tbansal1 2015/09/18 17:59:59 Not sure what is the right design here. Initially,
Ryan Hamilton 2015/09/18 22:01:26 I think this current approach is correct. The "rea
packet_generator_.OnRttChange(rtt);
}

Powered by Google App Engine
This is Rietveld 408576698