Index: net/quic/quic_sent_packet_manager.cc |
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc |
index 89f076877b28a3cd6efdf13b83fb5fc517bd93e2..829b9cbe99727f154a4896446b5b1f8bb0339a9d 100644 |
--- a/net/quic/quic_sent_packet_manager.cc |
+++ b/net/quic/quic_sent_packet_manager.cc |
@@ -185,7 +185,8 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) { |
} |
bool QuicSentPacketManager::ResumeConnectionState( |
- const CachedNetworkParameters& cached_network_params) { |
+ const CachedNetworkParameters& cached_network_params, |
+ bool max_bandwidth_resumption) { |
if (cached_network_params.has_min_rtt_ms()) { |
uint32 initial_rtt_us = |
kNumMicrosPerMilli * cached_network_params.min_rtt_ms(); |
@@ -193,7 +194,8 @@ bool QuicSentPacketManager::ResumeConnectionState( |
max(kMinInitialRoundTripTimeUs, |
min(kMaxInitialRoundTripTimeUs, initial_rtt_us))); |
} |
- return send_algorithm_->ResumeConnectionState(cached_network_params); |
+ return send_algorithm_->ResumeConnectionState(cached_network_params, |
+ max_bandwidth_resumption); |
} |
void QuicSentPacketManager::SetNumOpenStreams(size_t num_streams) { |