commit | 27d1e313968955f1a120b65b31e316263365b1b3 | [log] [tgz] |
---|---|---|
author | tzik <tzik@chromium.org> | Tue Sep 13 05:28:59 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 13 05:30:51 2016 |
tree | df7a4f92125f7725ef6edace903b45d2e854c517 | |
parent | 78f06b4e55c9e107f1d33de8679ef7846636c87b [diff] |
Introduce OnceClosure and BindOnce This CL adds another flag, RepeatMode, to base::Callback to make a Callback variant that can be run only once, and exposes it as OnceCallback. This also adds a base:::Bind variant to create an OneOnce, and adds provides conversions and constraints between Callbacks. BUG=554299 Review-Url: https://codereview.chromium.org/2042223002 Cr-Commit-Position: refs/heads/master@{#418177}