In QUIC, change OnOneRttKeysAvailable() to OnTlsHandshakeFinished().
There are 2 advantages:
1. The new name explicitly tells applications that the handshake is finished, which is what they care about.
2. Subclass overrides will know clearly this method is only in TLS QUIC.
No behavior change. not protected.
PiperOrigin-RevId: 327141938
Change-Id: Ieb43c32486f625116cad8246af91ba28c41b41ac
diff --git a/quic/core/handshaker_delegate_interface.h b/quic/core/handshaker_delegate_interface.h
index bfc8761..d72471f 100644
--- a/quic/core/handshaker_delegate_interface.h
+++ b/quic/core/handshaker_delegate_interface.h
@@ -37,7 +37,7 @@
// Called when both 1-RTT read and write keys are available. Only used in TLS
// handshake.
- virtual void OnOneRttKeysAvailable() = 0;
+ virtual void OnTlsHandshakeComplete() = 0;
// Called to discard old decryption keys to stop processing packets of
// encryption |level|.