Index: net/quic/quic_time.h |
diff --git a/net/quic/quic_time.h b/net/quic/quic_time.h |
index e5ca02a40bff1f9d73e7355ade369179186e248e..a1fb6a382eb47919e2dc1c975f0712aa6645142e 100644 |
--- a/net/quic/quic_time.h |
+++ b/net/quic/quic_time.h |
@@ -23,14 +23,14 @@ class NET_EXPORT_PRIVATE QuicTime { |
// time, stored in microsecond resolution. |
class NET_EXPORT_PRIVATE Delta { |
public: |
- // Default constructor initializes to 0. |
- Delta(); |
- |
explicit Delta(base::TimeDelta delta); |
// Create a object with infinite offset time. |
static Delta Infinite(); |
+ // Create a object with infinite offset time. |
+ static Delta Zero(); |
+ |
// Converts a number of milliseconds to a time offset. |
static Delta FromMilliseconds(int64 ms); |
@@ -60,11 +60,12 @@ class NET_EXPORT_PRIVATE QuicTime { |
friend class QuicTime; |
}; |
- // Default constructor initializes to time 0. |
- QuicTime(); |
- |
explicit QuicTime(base::TimeTicks ticks); |
+ // Creates a new QuicTime with an internal value of 0. IsInitialized() |
+ // will return true for these times. |
+ static QuicTime Zero(); |
+ |
// Create a new QuicTime holding the time_ms. |
static QuicTime FromMilliseconds(int64 time_ms); |