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

Unified Diff: net/quic/quic_connection.h

Issue 1327923002: Migrates QUIC sessions to a new network when old network is (about to be) disconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Addresses rch's comments. Created 4 years, 11 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
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 76bfd347c79d58ccb1ec05c18c9bd35819de092b..7f5c695ac276e4e74b123ad926353b03e994ab0a 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -503,8 +503,9 @@ class NET_EXPORT_PRIVATE QuicConnection
// Otherwise, it will reschedule the timeout alarm.
void CheckForTimeout();
- // Sends a ping, and resets the ping alarm.
- void SendPing();
+ // Sends a ping, and resets the ping alarm. If |force| is false,
+ // only sends a ping if the retransmission alarm is not running.
+ void SendPing(bool force);
// Sets up a packet with an QuicAckFrame and sends it out.
void SendAck();

Powered by Google App Engine
This is Rietveld 408576698