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

Unified Diff: net/tools/quic/quic_epoll_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/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_epoll_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_epoll_clock.h
diff --git a/net/tools/quic/quic_epoll_clock.h b/net/tools/quic/quic_epoll_clock.h
index 291ab0a66a83634bbfdd5b090a915eb837208440..95e6dc0485fbc38426efb290c2fd054e7993b287 100644
--- a/net/tools/quic/quic_epoll_clock.h
+++ b/net/tools/quic/quic_epoll_clock.h
@@ -29,10 +29,9 @@ class QuicEpollClock : public QuicClock {
// Note: this use significant resources please use only if needed.
virtual QuicTime Now() const OVERRIDE;
- // 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 OVERRIDE;
+ // WallNow returns the current wall-time - a time is consistent across
+ // different clocks.
+ virtual QuicWallTime WallNow() const OVERRIDE;
protected:
EpollServer* epoll_server_;
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_epoll_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698