Change QuicSession::WriteCryptoData() to QuicSession::SendCryptoData().
There is already a WriteCryptoData() which is writing data to a writer. The method changed is doing more of sending job. So renamed.
gfe-relnote: no behavior change. not protected.
PiperOrigin-RevId: 299175602
Change-Id: Id19d3c12a8c82a563883bf3fa493aff22b605942
diff --git a/quic/core/quic_session.cc b/quic/core/quic_session.cc
index de61dfe..e6f1aa7 100644
--- a/quic/core/quic_session.cc
+++ b/quic/core/quic_session.cc
@@ -744,10 +744,10 @@
return data;
}
-size_t QuicSession::WriteCryptoData(EncryptionLevel level,
- size_t write_length,
- QuicStreamOffset offset,
- TransmissionType /*type*/) {
+size_t QuicSession::SendCryptoData(EncryptionLevel level,
+ size_t write_length,
+ QuicStreamOffset offset,
+ TransmissionType /*type*/) {
DCHECK(QuicVersionUsesCryptoFrames(transport_version()));
// TODO(b/136274541): Set the transmission type here.
const auto current_level = connection()->encryption_level();