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

Unified Diff: net/quic/congestion_control/pacing_sender.cc

Issue 1037643002: Land Recent QUIC Changes until 03/22/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deleted duplicated using statements in net/tools/quic/test_tools/quic_test_utils.cc Created 5 years, 9 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
« no previous file with comments | « net/quic/congestion_control/pacing_sender.h ('k') | net/quic/congestion_control/rtt_stats_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/pacing_sender.cc
diff --git a/net/quic/congestion_control/pacing_sender.cc b/net/quic/congestion_control/pacing_sender.cc
index addf426b5fe10a91194f8f162ea2cbbf47ffd860..f656001e918ec8cdb3a7b6767d676476f3cea76d 100644
--- a/net/quic/congestion_control/pacing_sender.cc
+++ b/net/quic/congestion_control/pacing_sender.cc
@@ -28,14 +28,20 @@ void PacingSender::SetFromConfig(const QuicConfig& config,
}
bool PacingSender::ResumeConnectionState(
- const CachedNetworkParameters& cached_network_params) {
- return sender_->ResumeConnectionState(cached_network_params);
+ const CachedNetworkParameters& cached_network_params,
+ bool max_bandwidth_resumption) {
+ return sender_->ResumeConnectionState(cached_network_params,
+ max_bandwidth_resumption);
}
void PacingSender::SetNumEmulatedConnections(int num_connections) {
sender_->SetNumEmulatedConnections(num_connections);
}
+void PacingSender::SetMaxCongestionWindow(QuicByteCount max_congestion_window) {
+ sender_->SetMaxCongestionWindow(max_congestion_window);
+}
+
void PacingSender::OnCongestionEvent(bool rtt_updated,
QuicByteCount bytes_in_flight,
const CongestionVector& acked_packets,
« no previous file with comments | « net/quic/congestion_control/pacing_sender.h ('k') | net/quic/congestion_control/rtt_stats_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698