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

Unified Diff: base/time/time_mac.cc

Issue 27317002: base: Add base::TimeTicks::IsHighResNowFastAndReliable (Closed) Base URL: http://git.chromium.org/chromium/src.git@reenableHeavyPage
Patch Set: Fix link errors Created 7 years, 2 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 | « base/time/time.h ('k') | base/time/time_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time_mac.cc
diff --git a/base/time/time_mac.cc b/base/time/time_mac.cc
index d5b6a002fbf8002766dbfa10e2e823ac77db8026..fa1282fdeca3284040c10984ea35745eaa3d9f9d 100644
--- a/base/time/time_mac.cc
+++ b/base/time/time_mac.cc
@@ -190,6 +190,11 @@ TimeTicks TimeTicks::HighResNow() {
}
// static
+bool TimeTicks::IsHighResNowFastAndReliable() {
+ return true;
+}
+
+// static
TimeTicks TimeTicks::ThreadNow() {
NOTREACHED();
return TimeTicks();
« no previous file with comments | « base/time/time.h ('k') | base/time/time_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698