gfe-relnote: Allow connection option LRTT to be set for BBRv1 and BBQ2 to be set set for BBRv1 and BBRv2. Refactor only, not protected.
PiperOrigin-RevId: 309735417
Change-Id: I7c111a10ad3e7fcd3e319e8b3fd202176f0fde2b
diff --git a/quic/core/quic_connection.h b/quic/core/quic_connection.h
index 82c354d..f516e52 100644
--- a/quic/core/quic_connection.h
+++ b/quic/core/quic_connection.h
@@ -383,6 +383,12 @@
// Sets connection parameters from the supplied |config|.
void SetFromConfig(const QuicConfig& config);
+ // Apply |connection_options| for this connection. Unlike SetFromConfig, this
+ // can happen at anytime in the life of a connection.
+ // Note there is no guarantee that all options can be applied. Components will
+ // only apply cherrypicked options that make sense at the time of the call.
+ void ApplyConnectionOptions(const QuicTagVector& connection_options);
+
// Called by the session when sending connection state to the client.
virtual void OnSendConnectionState(
const CachedNetworkParameters& cached_network_params);