commit | f3336c9f54cfe4d26e71766eefd2b9a67fd2bc26 | [log] [tgz] |
---|---|---|
author | tzik <[email protected]> | Wed Jul 25 03:15:50 2018 |
committer | Commit Bot <[email protected]> | Wed Jul 25 03:15:50 2018 |
tree | 9f30925c90ecb957786a214ab4fe434b71d32e7f | |
parent | cf14c745baa6f2a271b839d8af23bf0da0fee43d [diff] |
Support base::OnceCallback on base::OneShotTimer This moves task management logic of base::internal::TimerBase to its subclasses, so that subclasses can hold user tasks as different types for each. Specifically, OneShotTimer's task type is converted to OnceClosure after this CL, and it gets supporting OnceCallback. Bug: 850247 Change-Id: Ie017c2ed6e0fb1fe44937a497576d16e5c3dab68 Reviewed-on: https://chromium-review.googlesource.com/1127215 Reviewed-by: Matt Menke <[email protected]> Reviewed-by: Gabriel Charette <[email protected]> Commit-Queue: Taiju Tsuiki <[email protected]> Cr-Commit-Position: refs/heads/master@{#577784}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .