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

Unified Diff: net/quic/quic_clock.cc

Issue 12334063: Land recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more EXPECT_FALSE Created 7 years, 10 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_clock.h ('k') | net/quic/quic_clock_test.cc » ('j') | no next file with comments »
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 32d99917f33991eca3c6ee9c894f6d8eb6ced2de..26c1a659032dc43ae56194c675f982e46dad2426 100644
--- a/net/quic/quic_clock.cc
+++ b/net/quic/quic_clock.cc
@@ -13,6 +13,11 @@ QuicClock::QuicClock() {
QuicClock::~QuicClock() {}
+QuicTime QuicClock::ApproximateNow() const {
+ // Chrome does not have a distinct notion of ApproximateNow().
+ return Now();
+}
+
QuicTime QuicClock::Now() const {
return QuicTime(base::TimeTicks::Now());
}
« no previous file with comments | « net/quic/quic_clock.h ('k') | net/quic/quic_clock_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698