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

Unified Diff: net/quic/core/quic_connection.cc

Issue 2916033003: Landing Recent QUIC changes until 03:18 AM, May 28, UTC (Closed)
Patch Set: A few more EXPORTs. Created 3 years, 7 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/core/quic_connection.h ('k') | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index 6ca59553cbb918c70cb4e61fc4ff01f47072c427..26f097d85d69e601776087f45da637b628d479ec 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -253,7 +253,12 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
time_of_last_received_packet_(clock_->ApproximateNow()),
time_of_last_sent_new_packet_(clock_->ApproximateNow()),
last_send_for_timeout_(clock_->ApproximateNow()),
- sent_packet_manager_(perspective, clock_, &stats_, kCubicBytes, kNack),
+ sent_packet_manager_(
+ perspective,
+ clock_,
+ &stats_,
+ FLAGS_quic_reloadable_flag_quic_default_to_bbr ? kBBR : kCubicBytes,
+ kNack),
version_negotiation_state_(START_NEGOTIATION),
perspective_(perspective),
connected_(true),
@@ -2431,4 +2436,9 @@ void QuicConnection::CheckIfApplicationLimited() {
}
}
+void QuicConnection::SetStreamNotifier(
+ StreamNotifierInterface* stream_notifier) {
+ sent_packet_manager_.SetStreamNotifier(stream_notifier);
+}
+
} // namespace net
« no previous file with comments | « net/quic/core/quic_connection.h ('k') | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698