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

Unified Diff: net/quic/quic_connection.h

Issue 605733006: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Patch Set 3 Created 6 years, 3 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 | « net/quic/quic_config_test.cc ('k') | 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 5cd5d3746a352c124b2aa413c678fbd035e4ecbf..084460f4d4c07810f24233a19cc1f1dc1cfd16f9 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -439,9 +439,9 @@ class NET_EXPORT_PRIVATE QuicConnection
// handshake finishes.
void SetOverallConnectionTimeout(QuicTime::Delta timeout);
- // If the connection has timed out, this will close the connection and return
- // true. Otherwise, it will return false and will reset the timeout alarm.
- bool CheckForTimeout();
+ // If the connection has timed out, this will close the connection.
+ // Otherwise, it will reschedule the timeout alarm.
+ void CheckForTimeout();
// Sends a ping, and resets the ping alarm.
void SendPing();
@@ -651,6 +651,9 @@ class NET_EXPORT_PRIVATE QuicConnection
// Closes any FEC groups protecting packets before |sequence_number|.
void CloseFecGroupsBefore(QuicPacketSequenceNumber sequence_number);
+ // Sets the timeout alarm to the appropriate value, if any.
+ void SetTimeoutAlarm();
+
// Sets the ping alarm to the appropriate value, if any.
void SetPingAlarm();
« no previous file with comments | « net/quic/quic_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698