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

Unified Diff: net/quic/congestion_control/send_algorithm_interface.h

Issue 1037633002: Add a QUIC connection option(BWMX) to resume to the max bandwidth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Populate_RTT_info_89043159
Patch Set: 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.cc ('k') | net/quic/congestion_control/tcp_cubic_bytes_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/send_algorithm_interface.h
diff --git a/net/quic/congestion_control/send_algorithm_interface.h b/net/quic/congestion_control/send_algorithm_interface.h
index 7b1f37d2acd96e6171e74e78888e6f0475c37770..7a49454ed07202420016e62d70ea3f71e322fa1f 100644
--- a/net/quic/congestion_control/send_algorithm_interface.h
+++ b/net/quic/congestion_control/send_algorithm_interface.h
@@ -117,9 +117,11 @@ class NET_EXPORT_PRIVATE SendAlgorithmInterface {
virtual CongestionControlType GetCongestionControlType() const = 0;
// Called by the Session when we get a bandwidth estimate from the client.
+ // Uses the max bandwidth in the params if |max_bandwidth_resumption| is true.
// Returns true if initial connection state is changed as a result.
virtual bool ResumeConnectionState(
- const CachedNetworkParameters& cached_network_params) = 0;
+ const CachedNetworkParameters& cached_network_params,
+ bool max_bandwidth_resumption) = 0;
};
} // namespace net
« no previous file with comments | « net/quic/congestion_control/pacing_sender.cc ('k') | net/quic/congestion_control/tcp_cubic_bytes_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698