Add ParsedQuicVersion::UsesTls and UsesQuicCrypto

These convenience methods will make it easier to check
which handshake protocol is in use.

gfe-relnote: n/a, unused code
PiperOrigin-RevId: 308299975
Change-Id: I28789e8ad69ccd652dcf7351b8c61808d04cd6b0
diff --git a/quic/core/quic_versions.h b/quic/core/quic_versions.h
index f861f19..5f3a968 100644
--- a/quic/core/quic_versions.h
+++ b/quic/core/quic_versions.h
@@ -330,6 +330,12 @@
   // Returns true if this version uses variable-length integers when
   // encoding transport parameter types and lengths.
   bool HasVarIntTransportParams() const;
+
+  // Returns whether this version uses PROTOCOL_TLS1_3.
+  bool UsesTls() const;
+
+  // Returns whether this version uses PROTOCOL_QUIC_CRYPTO.
+  bool UsesQuicCrypto() const;
 };
 
 QUIC_EXPORT_PRIVATE ParsedQuicVersion UnsupportedQuicVersion();