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

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: Added read/write socket error tests. 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 4b23ba956f614275e1cdfc29609f9a7250d6da24..6b43e50a74ef9af4eb2cd79d39076a13db35150a 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -505,8 +505,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