gfe-relnote: Add QuicSession::WriteCryptoData and move encryption level settings from crypto stream to this method. No functional change expected. not protected.
PiperOrigin-RevId: 298384187
Change-Id: I52e37ec54c59bc4edbe41f2f3d1e2f9fb95afa42
diff --git a/quic/core/quic_session.h b/quic/core/quic_session.h
index 4549878..84b1500 100644
--- a/quic/core/quic_session.h
+++ b/quic/core/quic_session.h
@@ -276,6 +276,10 @@
bool is_retransmission,
quiche::QuicheOptional<EncryptionLevel> level) override;
+ size_t WriteCryptoData(EncryptionLevel level,
+ size_t write_length,
+ QuicStreamOffset offset) override;
+
// Called by the QuicCryptoStream when a handshake message is sent.
virtual void OnCryptoHandshakeMessageSent(
const CryptoHandshakeMessage& message);