gfe-relnote: Add a VersionSupportsGoogleAltSvcFormat() method to move the version check out of the version manager. No behavior change. Not flag protected.
PiperOrigin-RevId: 276860532
Change-Id: I74f8bd156c7b2d660f12e865f142f923e2ff1936
diff --git a/quic/core/quic_versions.cc b/quic/core/quic_versions.cc
index e565a99..e2996f6 100644
--- a/quic/core/quic_versions.cc
+++ b/quic/core/quic_versions.cc
@@ -407,6 +407,10 @@
return result;
}
+bool VersionSupportsGoogleAltSvcFormat(QuicTransportVersion transport_version) {
+ return transport_version <= QUIC_VERSION_46;
+}
+
bool QuicVersionLabelUses4BitConnectionIdLength(
QuicVersionLabel version_label) {
// As we deprecate old versions, we still need the ability to send valid