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

Unified Diff: net/quic/test_tools/mock_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/test_tools/mock_clock.h ('k') | net/quic/test_tools/mock_random.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_clock.cc
diff --git a/net/quic/test_tools/mock_clock.cc b/net/quic/test_tools/mock_clock.cc
index b85ae198bb94db70eaff219065255c335ca4b828..d9fb386d119009d09a842c85767fe1ebf4b91066 100644
--- a/net/quic/test_tools/mock_clock.cc
+++ b/net/quic/test_tools/mock_clock.cc
@@ -21,6 +21,10 @@ QuicTime MockClock::Now() const {
return now_;
}
+QuicTime MockClock::ApproximateNow() const {
+ return now_;
+}
+
QuicTime::Delta MockClock::NowAsDeltaSinceUnixEpoch() const {
return now_.Subtract(QuicTime::Zero());
}
« no previous file with comments | « net/quic/test_tools/mock_clock.h ('k') | net/quic/test_tools/mock_random.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698