Support OnceCallback on base::OneShotTimer |
|
Issue descriptionbase::Timer and its family currently don't support base::OnceCallback. And that is a blocker of the migration from legacy base::Callback to base::OnceCallback. To support OnceCallback, IMO, we should split base::OneShotTimer to a separate class, update base::Timer usage to use OnceShotTimer or RepeatingTimer, and then, update the interface of base::OneShotTimer to use OnceCallback. |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Mar 1 2018