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

Unified Diff: net/tools/quic/quic_epoll_clock.cc

Issue 1421853006: Landing Recent QUIC changes until: Fri Oct 30 22:23:58 2015 +0000 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 1 month 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_epoll_clock.h ('k') | net/tools/quic/quic_epoll_clock_test.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.cc
diff --git a/net/tools/quic/quic_epoll_clock.cc b/net/tools/quic/quic_epoll_clock.cc
index 450afb8c52442e80249a1be47a731f7a9b673abc..62cb6bd9244a8cb6083fa34287842b0973f0bbf5 100644
--- a/net/tools/quic/quic_epoll_clock.cc
+++ b/net/tools/quic/quic_epoll_clock.cc
@@ -25,5 +25,10 @@ QuicTime QuicEpollClock::Now() const {
QuicTime::Delta::FromMicroseconds(epoll_server_->NowInUsec()));
}
+QuicWallTime QuicEpollClock::WallNow() const {
+ return QuicWallTime::FromUNIXMicroseconds(
+ epoll_server_->ApproximateNowInUsec());
+}
+
} // namespace tools
} // namespace net
« no previous file with comments | « net/tools/quic/quic_epoll_clock.h ('k') | net/tools/quic/quic_epoll_clock_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698