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/http/quic_spdy_session_test.cc b/quic/core/http/quic_spdy_session_test.cc
index 706ee2d..fd0c645 100644
--- a/quic/core/http/quic_spdy_session_test.cc
+++ b/quic/core/http/quic_spdy_session_test.cc
@@ -123,7 +123,7 @@
session()->OnConfigNegotiated();
if (session()->connection()->version().handshake_protocol ==
PROTOCOL_TLS1_3) {
- session()->OnOneRttKeysAvailable();
+ session()->OnTlsHandshakeComplete();
} else {
session()->SetDefaultEncryptionLevel(ENCRYPTION_FORWARD_SECURE);
}