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

Unified Diff: net/quic/test_tools/mock_clock.h

Issue 11956029: MockClock needs to mock the NowAsDeltaSinceUnixEpoch method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « no previous file | net/quic/test_tools/mock_clock.cc » ('j') | net/quic/test_tools/mock_clock.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_clock.h
===================================================================
--- net/quic/test_tools/mock_clock.h (revision 177200)
+++ net/quic/test_tools/mock_clock.h (working copy)
@@ -23,12 +23,13 @@
virtual QuicTime Now() const OVERRIDE;
+ virtual QuicTime::Delta NowAsDeltaSinceUnixEpoch() const OVERRIDE;
+
base::TimeTicks NowInTicks() const;
- void AdvanceTime(QuicTime delta);
-
private:
QuicTime now_;
+ QuicTime::Delta now_as_delta_since_unix_epoch_;
};
} // namespace net
« no previous file with comments | « no previous file | net/quic/test_tools/mock_clock.cc » ('j') | net/quic/test_tools/mock_clock.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698