gfe-relnote: (n/a) Delete two unused member variables from QuicCryptoServerStream. Not protected.
PiperOrigin-RevId: 248139210
Change-Id: I3b0bab0c2b2ed841116f2d7471a5af86b8c1745b
diff --git a/quic/core/quic_crypto_server_stream.cc b/quic/core/quic_crypto_server_stream.cc
index 3375e46..8fc4cf3 100644
--- a/quic/core/quic_crypto_server_stream.cc
+++ b/quic/core/quic_crypto_server_stream.cc
@@ -49,13 +49,10 @@
QuicCryptoServerStream::QuicCryptoServerStream(
const QuicCryptoServerConfig* crypto_config,
QuicCompressedCertsCache* compressed_certs_cache,
- bool use_stateless_rejects_if_peer_supported,
+ bool /*use_stateless_rejects_if_peer_supported*/,
QuicSession* session,
Helper* helper)
: QuicCryptoServerStreamBase(session),
- use_stateless_rejects_if_peer_supported_(
- use_stateless_rejects_if_peer_supported),
- peer_supports_stateless_rejects_(false),
crypto_config_(crypto_config),
compressed_certs_cache_(compressed_certs_cache),
helper_(helper) {
diff --git a/quic/core/quic_crypto_server_stream.h b/quic/core/quic_crypto_server_stream.h
index a31f133..30c7ba2 100644
--- a/quic/core/quic_crypto_server_stream.h
+++ b/quic/core/quic_crypto_server_stream.h
@@ -194,17 +194,6 @@
private:
std::unique_ptr<HandshakerDelegate> handshaker_;
- // If true, the server should use stateless rejects, so long as the
- // client supports them, as indicated by
- // peer_supports_stateless_rejects_.
- bool use_stateless_rejects_if_peer_supported_;
-
- // Set to true, once the server has received information from the
- // client that it supports stateless reject.
- // TODO(jokulik): Remove once client stateless reject support
- // becomes the default.
- bool peer_supports_stateless_rejects_;
-
// Arguments from QuicCryptoServerStream constructor that might need to be
// passed to the HandshakerDelegate constructor in its late construction.
const QuicCryptoServerConfig* crypto_config_;