Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/chromeos/arc
This is a generated CL by a clang refactoring tool at //tools/clang/base_bind_rewriters. It rewrites base::Bind to base::BindOnce where the resulting Callback is converted to OnceCallback immediately. E.g.: base::PostTask(FROM_HERE, base::Bind(&Foo)); is rewritten to: base::PostTask(FROM_HERE, base::BindOnce(&Foo)); In terms of the behavior change after the rewrite, the OnceCallback implementation moves out the bound argument to the target function, unlike Callback. Bug: 554299 Change-Id: Id0d8d60e6c0104d89093522a030fa05d7c50ae67 Reviewed-on: https://chromium-review.googlesource.com/517845Reviewed-by:Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#475796}
Showing
Please register or sign in to comment