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

Unified Diff: net/quic/quic_config.cc

Issue 573763003: client-only - Change QUIC clients to use the initial RTT estimate that (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Increase_flow_control_receive_window_75381087
Patch Set: Created 6 years, 3 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/quic_config.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.cc
diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
index 4542a04f7477d2e84360a6a6422b84bfcc8d860a..2ab657a3d7e03b92ebcbae23eb21bac17071b0c1 100644
--- a/net/quic/quic_config.cc
+++ b/net/quic/quic_config.cc
@@ -552,6 +552,14 @@ uint32 QuicConfig::ReceivedInitialRoundTripTimeUs() const {
return initial_round_trip_time_us_.GetReceivedValue();
}
+bool QuicConfig::HasInitialRoundTripTimeUsToSend() const {
+ return initial_round_trip_time_us_.HasSendValue();
+}
+
+uint32 QuicConfig::GetInitialRoundTripTimeUsToSend() const {
+ return initial_round_trip_time_us_.GetSendValue();
+}
+
void QuicConfig::SetInitialFlowControlWindowToSend(uint32 window_bytes) {
if (window_bytes < kDefaultFlowControlSendWindow) {
LOG(DFATAL) << "Initial flow control receive window (" << window_bytes
« no previous file with comments | « net/quic/quic_config.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698