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

Unified Diff: net/quic/quic_clock.h

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_client_session_test.cc ('k') | net/quic/quic_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_clock.h
diff --git a/net/quic/quic_clock.h b/net/quic/quic_clock.h
index dca211e27e18dfb6e9c1903df1308a2a7aeda486..6b6cb31b9824cf84a2ff6ec8eca0ee9934d1932a 100644
--- a/net/quic/quic_clock.h
+++ b/net/quic/quic_clock.h
@@ -21,6 +21,10 @@ class NET_EXPORT_PRIVATE QuicClock {
virtual ~QuicClock();
// Returns the approximate current time as a QuicTime object.
+ virtual QuicTime ApproximateNow() const;
+
+ // Returns the current time as a QuicTime object.
+ // Note: this use significant resources please use only if needed.
virtual QuicTime Now() const;
// Returns the current time as an offset from the Unix epoch (1970-01-01
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698