Remove OnApplicationClose upcalls, update OnConnectionClose as needed.
Replaces the OnApplicationClose visitor upcalls with OnConnectionClose. The IETF removes the separate Application Close frame from QUIC, modifying the Connection Close frame to have two flavors; one for Application-initiated reasons, the other for Transport reasons. These were formerly the Application- and Connection- closes.
gfe-relnote: N/A this is only for IETF QUIC (version 99).
PiperOrigin-RevId: 243856589
Change-Id: Ie048aa2a8641f7e3f84b6cd7e4fc6ce61d5683e7
diff --git a/quic/core/quic_framer.h b/quic/core/quic_framer.h
index 8d2fd93..90ef998 100644
--- a/quic/core/quic_framer.h
+++ b/quic/core/quic_framer.h
@@ -154,17 +154,10 @@
// Called when a RstStreamFrame has been parsed.
virtual bool OnRstStreamFrame(const QuicRstStreamFrame& frame) = 0;
- // Called when a ConnectionCloseFrame has been parsed.
+ // Called when a ConnectionCloseFrame, of any type, has been parsed.
virtual bool OnConnectionCloseFrame(
const QuicConnectionCloseFrame& frame) = 0;
- // Called when an IETF QUIC CONNECTION_CLOSE/Application Frame has been
- // parsed. TEMPORARILY pass the frame as a QuicConnectionCloseFrame.
- // TODO(fkastenholz): remove when V99 fully utilizes the IETF
- // CONNECTION_CLOSE close frame.
- virtual bool OnApplicationCloseFrame(
- const QuicConnectionCloseFrame& frame) = 0;
-
// Called when a StopSendingFrame has been parsed.
virtual bool OnStopSendingFrame(const QuicStopSendingFrame& frame) = 0;