gfe-relnote: In QUIC, put packet number validation in a standalone function. No functional refactoring change. Not protected.

PiperOrigin-RevId: 238665877
Change-Id: I11475048750c32520eaa45bb871856f45af63dab
diff --git a/quic/core/quic_connection.h b/quic/core/quic_connection.h
index f7b6f76..961385c 100644
--- a/quic/core/quic_connection.h
+++ b/quic/core/quic_connection.h
@@ -1045,6 +1045,10 @@
   // handled, false otherwise.
   bool ProcessValidatedPacket(const QuicPacketHeader& header);
 
+  // Returns true if received |packet_number| can be processed. Please note,
+  // this is called after packet got decrypted successfully.
+  bool ValidateReceivedPacketNumber(QuicPacketNumber packet_number);
+
   // Consider receiving crypto frame on non crypto stream as memory corruption.
   bool MaybeConsiderAsMemoryCorruption(const QuicStreamFrame& frame);