Lines Matching refs:QuicWallTime
24 // QuicWallTime, below.
102 // A QuicWallTime represents an absolute time that is globally consistent. It
105 class NET_EXPORT_PRIVATE QuicWallTime {
107 // FromUNIXSeconds constructs a QuicWallTime from a count of the seconds
109 static QuicWallTime FromUNIXSeconds(uint64 seconds);
111 // Zero returns a QuicWallTime set to zero. IsZero will return true for this
113 static QuicWallTime Zero();
115 // ToUNIXSeconds converts a QuicWallTime into a count of seconds since the
119 bool IsAfter(QuicWallTime other) const;
120 bool IsBefore(QuicWallTime other) const;
127 QuicTime::Delta AbsoluteDifference(QuicWallTime other) const;
129 // Add returns a new QuicWallTime that represents the time of |this| plus
131 QuicWallTime Add(QuicTime::Delta delta) const;
133 // Subtract returns a new QuicWallTime that represents the time of |this|
135 QuicWallTime Subtract(QuicTime::Delta delta) const;
138 explicit QuicWallTime(uint64 seconds);