base::Timer based class declares Start as:
virtual void Start(const Location& posted_from,
TimeDelta delay,
const base::Closure& user_task);
Today this |base::Closure| is equivalent to |base::RepeatingClosure|.
This is all great for base::RepeatingTimer, but kind of ugly for base::*One*ShotTimer. Can we somehow make base::OneShotTimer::Start take a base::OnceClosure instead?
Comment 1 by lukasza@chromium.org
, Jun 6 2018Owner: tzik@chromium.org
Status: Assigned (was: Untriaged)