• tzik's avatar
    Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{a,b,c,d,e,f,g}* · 29ea5c72
    tzik authored
    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
    
    Review-Url: https://codereview.chromium.org/2825003002
    Cr-Commit-Position: refs/heads/master@{#465863}
    29ea5c72
chrome_plugin_browsertest.cc 7.67 KB