Chromium Code Reviews| 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); |
| } |