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

Unified Diff: base/time/time.h

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More changes based on review comments. Created 5 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 | « base/time/tick_clock.h ('k') | base/time/time_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time.h
diff --git a/base/time/time.h b/base/time/time.h
index 915eac8f3168a6cf5ca47a1fe0683d2be9cac32e..eb8669330276c7e4159a2edc57ca88eaf9071fa5 100644
--- a/base/time/time.h
+++ b/base/time/time.h
@@ -603,21 +603,12 @@ class BASE_EXPORT TimeTicks {
// microsecond.
static TimeTicks Now();
- // DEPRECATED
- // TODO(miu): Remove this function, and all callpoints should call Now().
- static TimeTicks HighResNow() { return TimeTicks::Now(); }
-
// Returns true if the high resolution clock is working on this system and
// Now() will return high resolution values. Note that, on systems where the
// high resolution clock works but is deemed inefficient, the low resolution
// clock will be used instead.
static bool IsHighResolution();
- // DEPRECATED
- // TODO(miu): Remove this function, and all callpoints should call
- // IsHighResolution().
- static bool IsHighResNowFastAndReliable() { return IsHighResolution(); }
-
// Returns true if ThreadNow() is supported on this system.
static bool IsThreadNowSupported() {
#if (defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)) || \
« no previous file with comments | « base/time/tick_clock.h ('k') | base/time/time_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698