Chromium Code Reviews
DescriptionRewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/sync
This is a generated CL by a clang refactoring tool at //tools/clang/base_bind_rewriters.
The tool rewrites base::Bind to base::BindOnce where the resulting Callback
is immediately converted to OnceCallback.
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
TBR=skym@chromium.org
Review-Url: https://codereview.chromium.org/2830603002
Cr-Commit-Position: refs/heads/master@{#465837}
Committed: https://chromium.googlesource.com/chromium/src/+/87a064f8bd3bccd5e3dabaa7ecbf8e64422ebac0
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||