#include "gpu/command_buffer/service/retaining_one_shot_timer_holder.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
namespace gpu {
RetainingOneShotTimerHolder::RetainingOneShotTimerHolder(
base::TimeDelta max_delay,
base::TimeDelta min_delay,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
base::RepeatingClosure user_task)
: … { … }
void RetainingOneShotTimerHolder::ResetTimerIfNecessary() { … }
void RetainingOneShotTimerHolder::DestroyTimer() { … }
RetainingOneShotTimerHolder::~RetainingOneShotTimerHolder() { … }
void RetainingOneShotTimerHolder::DestroyTimerOnTaskRunner() { … }
void RetainingOneShotTimerHolder::OnTimerFired() { … }
}