gfe-relnote: In QUIC, combine NumHandshakeMessages and NumHandshakeMessagesWithServerNonces in QuicCryptoServerStreamBase to IsZeroRtt. Refactoring only, not protected.
PiperOrigin-RevId: 300838886
Change-Id: I04f4850bb75197c0fcef58c7d601bdc5e6cc77c0
diff --git a/quic/core/tls_server_handshaker.cc b/quic/core/tls_server_handshaker.cc
index 6831e69..bda7598 100644
--- a/quic/core/tls_server_handshaker.cc
+++ b/quic/core/tls_server_handshaker.cc
@@ -83,14 +83,9 @@
// SCUP messages aren't supported when using the TLS handshake.
}
-uint8_t TlsServerHandshaker::NumHandshakeMessages() const {
- // TODO(nharper): Return a sensible value here.
- return 0;
-}
-
-uint8_t TlsServerHandshaker::NumHandshakeMessagesWithServerNonces() const {
- // TODO(nharper): Return a sensible value here.
- return 0;
+bool TlsServerHandshaker::IsZeroRtt() const {
+ // TODO(nharper): Support 0-RTT with TLS 1.3 in QUIC.
+ return false;
}
int TlsServerHandshaker::NumServerConfigUpdateMessagesSent() const {