Change IETF Frame/QUIC_VERSION_99 tests to be symbolic.

This CL replaces checks for QUIC_VERSION_99 that are controlling the IETF frames and their associated functionality with a function call . The function has a name that is indicative of the features for which the version is being checked -- VersionHasIetfQuicFrames().

gfe-relnote: N/A just changes the text by which we test if IETF QUIC has been negotiated.
PiperOrigin-RevId: 253767805
Change-Id: I08ae6738411ac151f90d5d085ea69af90d79fb80
diff --git a/quic/core/quic_config.cc b/quic/core/quic_config.cc
index 0914809..2423023 100644
--- a/quic/core/quic_config.cc
+++ b/quic/core/quic_config.cc
@@ -702,9 +702,9 @@
   silent_close_.ToHandshakeMessage(out);
   // Do not need a version check here, max...bi... will encode
   // as "MIDS" -- the max initial dynamic streams tag -- if
-  // doing some version other than IETF QUIC/V99.
+  // doing some version other than IETF QUIC.
   max_incoming_bidirectional_streams_.ToHandshakeMessage(out);
-  if (transport_version == QUIC_VERSION_99) {
+  if (VersionHasIetfQuicFrames(transport_version)) {
     max_incoming_unidirectional_streams_.ToHandshakeMessage(out);
   }
   bytes_for_connection_id_.ToHandshakeMessage(out);