Add KeyUpdateReason enum to KeyUpdate call & OnKeyUpdate callbacks.
PiperOrigin-RevId: 337886250
Change-Id: I1a8ebf0212f8c3b9a80d47bc93c243f6cd2c128c
diff --git a/quic/core/chlo_extractor.cc b/quic/core/chlo_extractor.cc
index 33f6c0e..e469e0d 100644
--- a/quic/core/chlo_extractor.cc
+++ b/quic/core/chlo_extractor.cc
@@ -82,7 +82,7 @@
bool IsValidStatelessResetToken(QuicUint128 token) const override;
void OnAuthenticatedIetfStatelessResetPacket(
const QuicIetfStatelessResetPacket& /*packet*/) override {}
- void OnKeyUpdate() override;
+ void OnKeyUpdate(KeyUpdateReason /*reason*/) override;
void OnDecryptedFirstPacketInKeyPhase() override;
std::unique_ptr<QuicDecrypter> AdvanceKeysAndCreateCurrentOneRttDecrypter()
override;
@@ -315,7 +315,7 @@
return true;
}
-void ChloFramerVisitor::OnKeyUpdate() {}
+void ChloFramerVisitor::OnKeyUpdate(KeyUpdateReason /*reason*/) {}
void ChloFramerVisitor::OnDecryptedFirstPacketInKeyPhase() {}