Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index 84bd78d9cbef8337f72a753fadfc29f81c9d6023..cd3d3d4a7de4108f671deba14549028a331d3e1e 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -602,6 +602,10 @@ class NET_EXPORT_PRIVATE QuicConnection |
// Clears any accumulated frames from the last received packet. |
void ClearLastFrames(); |
+ // Closes the connection if the sent or received packet manager are tracking |
+ // too many outstanding packets. |
+ void MaybeCloseIfTooManyOutstandingPackets(); |
+ |
// Writes as many queued packets as possible. The connection must not be |
// blocked when this is called. |
void WriteQueuedPackets(); |