Lines Matching refs:Time
37 using base::Time;
89 class LastCheckedTimeVariable : public UpdaterVariableBase<Time> {
92 : UpdaterVariableBase<Time>(name, kVariableModePoll) {} in LastCheckedTimeVariable()
95 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue()
100 return new Time(Time::FromTimeT(raw.last_checked_time())); in GetValue()
225 class UpdateCompletedTimeVariable : public UpdaterVariableBase<Time> {
228 : UpdaterVariableBase<Time>(name, kVariableModePoll) {} in UpdateCompletedTimeVariable()
231 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue()
232 Time update_boottime; in GetValue()
241 Time curr_boottime = clock->GetBootTime(); in GetValue()
248 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue()