Lines Matching refs:Timer
5 #include "base/timer/timer.h"
18 // Timer in the thread's default task runner. It also handles the following
21 // - abandoned (orphaned) by Timer.
24 explicit BaseTimerTaskInternal(Timer* timer)
25 : timer_(timer) {
30 // destructed. If so, don't leave Timer with a dangling pointer
41 // *this will be deleted by the task runner, so Timer needs to
45 // Although Timer should not call back into *this, let's clear
47 Timer* timer = timer_;
49 timer->RunScheduledTask();
59 Timer* timer_;
62 Timer::Timer(bool retain_user_task, bool is_repeating)
70 Timer::Timer(const tracked_objects::Location& posted_from,
84 Timer::~Timer() {
88 bool Timer::IsRunning() const {
92 TimeDelta Timer::GetCurrentDelay() const {
96 void Timer::Start(const tracked_objects::Location& posted_from,
103 void Timer::Stop() {
109 void Timer::Reset() {
136 void Timer::SetTaskInfo(const tracked_objects::Location& posted_from,
144 void Timer::PostNewScheduledTask(TimeDelta delay) {
164 void Timer::AbandonScheduledTask() {
173 void Timer::RunScheduledTask() {