Searched refs:now_function (Results 1 – 6 of 6) sorted by relevance
23 void SetAlternateTimeSource(NowFunction* now_function, TimeSourceType type) { in SetAlternateTimeSource() argument25 g_time_function = now_function; in SetAlternateTimeSource()
32 BASE_EXPORT void SetAlternateTimeSource(NowFunction* now_function,
445 NowFunction now_function = RolloverProtectedNow; variable477 now_function = HighResNowWrapper; in SetNowIsHighResNowIfSupported()483 return TimeTicks() + now_function(); in Now()524 if (now_function == HighResNowWrapper) { in UnprotectedNow()
179 const base::Callback<base::Time(void)>& now_function) { in SetNowFunctionForTesting() argument180 now_function_ = now_function; in SetNowFunctionForTesting()
40 const base::Callback<base::Time(void)>& now_function);
776 void ThreadData::SetAlternateTimeSource(NowFunction* now_function) { in SetAlternateTimeSource() argument777 DCHECK(now_function); in SetAlternateTimeSource()779 now_function_ = now_function; in SetAlternateTimeSource()