Move QuicCryptoServerStream::Helper to QuicCryptoServerStreamBase
gfe-relnote: rename class - no behavior change
PiperOrigin-RevId: 296246242
Change-Id: I68425fe4ba7a2040eed4bf93835639e6f353a406
diff --git a/quic/quartc/quartc_crypto_helpers.h b/quic/quartc/quartc_crypto_helpers.h
index 8f0fe96..92c68b6 100644
--- a/quic/quartc/quartc_crypto_helpers.h
+++ b/quic/quartc/quartc_crypto_helpers.h
@@ -99,7 +99,8 @@
};
// Implementation of the server-side crypto stream helper.
-class QuartcCryptoServerStreamHelper : public QuicCryptoServerStream::Helper {
+class QuartcCryptoServerStreamHelper
+ : public QuicCryptoServerStreamBase::Helper {
public:
bool CanAcceptClientHello(const CryptoHandshakeMessage& message,
const QuicSocketAddress& client_address,
diff --git a/quic/quartc/quartc_dispatcher.cc b/quic/quartc/quartc_dispatcher.cc
index 8f0f1c1..c5c4c4a 100644
--- a/quic/quartc/quartc_dispatcher.cc
+++ b/quic/quartc/quartc_dispatcher.cc
@@ -16,7 +16,7 @@
std::unique_ptr<QuicCryptoServerConfig> crypto_config,
QuicVersionManager* version_manager,
std::unique_ptr<QuicConnectionHelperInterface> helper,
- std::unique_ptr<QuicCryptoServerStream::Helper> session_helper,
+ std::unique_ptr<QuicCryptoServerStreamBase::Helper> session_helper,
std::unique_ptr<QuicAlarmFactory> alarm_factory,
std::unique_ptr<QuartcPacketWriter> packet_writer,
Delegate* delegate)
diff --git a/quic/quartc/quartc_dispatcher.h b/quic/quartc/quartc_dispatcher.h
index 7ac3dae..47630f9 100644
--- a/quic/quartc/quartc_dispatcher.h
+++ b/quic/quartc/quartc_dispatcher.h
@@ -34,7 +34,7 @@
std::unique_ptr<QuicCryptoServerConfig> crypto_config,
QuicVersionManager* version_manager,
std::unique_ptr<QuicConnectionHelperInterface> helper,
- std::unique_ptr<QuicCryptoServerStream::Helper> session_helper,
+ std::unique_ptr<QuicCryptoServerStreamBase::Helper> session_helper,
std::unique_ptr<QuicAlarmFactory> alarm_factory,
std::unique_ptr<QuartcPacketWriter> packet_writer,
Delegate* delegate);
diff --git a/quic/quartc/quartc_session.cc b/quic/quartc/quartc_session.cc
index 9efe659..6715ee2 100644
--- a/quic/quartc/quartc_session.cc
+++ b/quic/quartc/quartc_session.cc
@@ -429,7 +429,7 @@
const QuicClock* clock,
const QuicCryptoServerConfig* server_crypto_config,
QuicCompressedCertsCache* const compressed_certs_cache,
- QuicCryptoServerStream::Helper* const stream_helper)
+ QuicCryptoServerStreamBase::Helper* const stream_helper)
: QuartcSession(std::move(connection),
visitor,
config,
diff --git a/quic/quartc/quartc_session.h b/quic/quartc/quartc_session.h
index 1d8554f..a9ebb47 100644
--- a/quic/quartc/quartc_session.h
+++ b/quic/quartc/quartc_session.h
@@ -308,7 +308,7 @@
const QuicClock* clock,
const QuicCryptoServerConfig* server_crypto_config,
QuicCompressedCertsCache* const compressed_certs_cache,
- QuicCryptoServerStream::Helper* const stream_helper);
+ QuicCryptoServerStreamBase::Helper* const stream_helper);
QuartcServerSession(const QuartcServerSession&) = delete;
QuartcServerSession& operator=(const QuartcServerSession&) = delete;
@@ -327,7 +327,7 @@
QuicCompressedCertsCache* const compressed_certs_cache_;
// This helper is needed to create QuicCryptoServerStream.
- QuicCryptoServerStream::Helper* const stream_helper_;
+ QuicCryptoServerStreamBase::Helper* const stream_helper_;
// Server perspective crypto stream.
std::unique_ptr<QuicCryptoServerStreamBase> crypto_stream_;