Lines Matching refs:Time
34 using base::Time;
87 class LastCheckedTimeVariable : public UpdaterVariableBase<Time> {
90 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} in LastCheckedTimeVariable()
93 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue()
98 return new Time(Time::FromTimeT(raw.last_checked_time())); in GetValue()
229 class UpdateCompletedTimeVariable : public UpdaterVariableBase<Time> {
232 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} in UpdateCompletedTimeVariable()
235 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue()
236 Time update_boottime; in GetValue()
245 Time curr_boottime = clock->GetBootTime(); in GetValue()
252 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue()