Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: net/quic/quic_connection.h

Issue 2015523002: Pulls out QuicConnection alarm cancellation into method. No behavior change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122677152
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index ab6ee9ca7b46d98fc6bbd628b9d895135d3a30e0..dada5a195da490577dbfec21b0e3b059476b0ea6 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -680,6 +680,9 @@ class NET_EXPORT_PRIVATE QuicConnection
}
protected:
+ // Calls cancel() on all the alarms owned by this connection.
+ void CancelAllAlarms();
+
// Send a packet to the peer, and takes ownership of the packet if the packet
// cannot be written immediately.
virtual void SendOrQueuePacket(SerializedPacket* packet);
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698