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

Unified Diff: net/quic/quic_time.h

Issue 411823002: Land Recent QUIC Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase TOT Created 6 years, 5 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_stream_factory.cc ('k') | net/quic/quic_time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_time.h
diff --git a/net/quic/quic_time.h b/net/quic/quic_time.h
index 20cc3088f72732fe489b148f5e356552e985333b..5fbe30cce9890ee5055369203791af9803e0613b 100644
--- a/net/quic/quic_time.h
+++ b/net/quic/quic_time.h
@@ -81,6 +81,9 @@ class NET_EXPORT_PRIVATE QuicTime {
// will return false for these times.
static QuicTime Zero();
+ // Creates a new QuicTime with an infinite time.
+ static QuicTime Infinite();
+
// Returns the later time of time1 and time2.
static QuicTime Max(QuicTime time1, QuicTime time2);
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | net/quic/quic_time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698