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

Unified Diff: net/quic/quic_clock.h

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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_client_session_test.cc ('k') | net/quic/quic_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_clock.h
diff --git a/net/quic/quic_clock.h b/net/quic/quic_clock.h
index 6b6cb31b9824cf84a2ff6ec8eca0ee9934d1932a..0b3ef4a9133ef1e5e2c6f5c83b6763240e2b7817 100644
--- a/net/quic/quic_clock.h
+++ b/net/quic/quic_clock.h
@@ -27,10 +27,9 @@ class NET_EXPORT_PRIVATE QuicClock {
// Note: this use significant resources please use only if needed.
virtual QuicTime Now() const;
- // Returns the current time as an offset from the Unix epoch (1970-01-01
- // 00:00:00 GMT). This function may return a smaller Delta in subsequent
- // calls if the system clock is changed.
- virtual QuicTime::Delta NowAsDeltaSinceUnixEpoch() const;
+ // WallNow returns the current wall-time - a time is consistent across
+ // different clocks.
+ virtual QuicWallTime WallNow() const;
};
} // namespace net
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698