summaryrefslogtreecommitdiffstats
path: root/base/time/time.h
diff options
context:
space:
mode:
authorcharliea <charliea@google.com>2015-01-26 09:35:41 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-26 17:36:51 +0000
commit3be83970173f29ff3fec067fe64ff9910ce53c73 (patch)
treefc4b06ee8ee1f66001eb379412d35d234711bf93 /base/time/time.h
parent4bf260f81b3909da9099e5bcac948cbc0ca5e295 (diff)
downloadchromium_src-3be83970173f29ff3fec067fe64ff9910ce53c73.zip
chromium_src-3be83970173f29ff3fec067fe64ff9910ce53c73.tar.gz
chromium_src-3be83970173f29ff3fec067fe64ff9910ce53c73.tar.bz2
Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now().
BUG= Review URL: https://codereview.chromium.org/864943002 Cr-Commit-Position: refs/heads/master@{#313084}
Diffstat (limited to 'base/time/time.h')
-rw-r--r--base/time/time.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/base/time/time.h b/base/time/time.h
index 915eac8..eb86693 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)) || \