Index: net/quic/quic_connection.cc |
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc |
index 45b64088481be4cb2322d0aa78dc96d5ba6f34a0..524187082ed6d43c8af53e8b1b7d9ff19602ebf9 100644 |
--- a/net/quic/quic_connection.cc |
+++ b/net/quic/quic_connection.cc |
@@ -312,8 +312,18 @@ void QuicConnection::SetFromConfig(const QuicConfig& config) { |
max_undecryptable_packets_ = config.max_undecryptable_packets(); |
} |
+void QuicConnection::OnSendConnectionState( |
+ const CachedNetworkParameters& cached_network_params) { |
+ if (debug_visitor_ != nullptr) { |
+ debug_visitor_->OnSendConnectionState(cached_network_params); |
+ } |
+} |
+ |
bool QuicConnection::ResumeConnectionState( |
const CachedNetworkParameters& cached_network_params) { |
+ if (debug_visitor_ != nullptr) { |
+ debug_visitor_->OnResumeConnectionState(cached_network_params); |
+ } |
return sent_packet_manager_.ResumeConnectionState(cached_network_params); |
} |