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

Unified Diff: net/quic/quic_connection.h

Issue 604163002: Change the return type of QuicConnection::CheckForTimeout from bool to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Remove_calls_to_OnSerializedPacket_75716236
Patch Set: 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 | « 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 5cd5d3746a352c124b2aa413c678fbd035e4ecbf..5f824291a42807cfa20ba471d9ae4a6d712ae650 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();
« 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