Add a new 'b2hi' connection option which limits the reduction of inflight_hi based on cwnd instead of target inflight.  protected by gfe2_reloadable_flag_quic_bbr2_limit_inflight_hi.

PiperOrigin-RevId: 313091939
Change-Id: Ic722bca8e08e42d7b3e3235e8d3c37c9a17ac836
diff --git a/quic/core/congestion_control/bbr2_sender.cc b/quic/core/congestion_control/bbr2_sender.cc
index 8c3f7e5..7b891a6 100644
--- a/quic/core/congestion_control/bbr2_sender.cc
+++ b/quic/core/congestion_control/bbr2_sender.cc
@@ -127,6 +127,11 @@
     QUIC_RELOADABLE_FLAG_COUNT(quic_bbr2_ignore_inflight_lo);
     params_.ignore_inflight_lo = true;
   }
+  if (GetQuicReloadableFlag(quic_bbr2_limit_inflight_hi) &&
+      config.HasClientRequestedIndependentOption(kB2HI, perspective)) {
+    QUIC_RELOADABLE_FLAG_COUNT(quic_bbr2_limit_inflight_hi);
+    params_.limit_inflight_hi_by_cwnd = true;
+  }
 
   ApplyConnectionOptions(config.ClientRequestedIndependentOptions(perspective));
 }