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

Unified Diff: net/quic/quic_clock.cc

Issue 1421873007: Change QuicWallTime to have microsecond granularity. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106444524
Patch Set: 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 | « no previous file | net/quic/quic_time.h » ('j') | net/quic/quic_time.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_clock.cc
diff --git a/net/quic/quic_clock.cc b/net/quic/quic_clock.cc
index 9d5ac6d17abb309c87b2aff4dfedbdccb95910f3..ba72bbf9aa6378867242444a8765136e3abd1183 100644
--- a/net/quic/quic_clock.cc
+++ b/net/quic/quic_clock.cc
@@ -24,7 +24,7 @@ QuicTime QuicClock::Now() const {
}
QuicWallTime QuicClock::WallNow() const {
- return QuicWallTime::FromUNIXSeconds(base::Time::Now().ToTimeT());
+ return QuicWallTime::FromUNIXMicroseconds(base::Time::Now().ToJavaTime() * 1000);
}
} // namespace net
« no previous file with comments | « no previous file | net/quic/quic_time.h » ('j') | net/quic/quic_time.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698