commit | 4373d4bcfd831b9a42b06ab9caab43e27386ff12 | [log] [tgz] |
---|---|---|
author | tzik <tzik@chromium.org> | Tue Mar 13 04:42:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 13 04:42:06 2018 |
tree | 6520c92a015e707ca42e110ffaab6e890226d90e | |
parent | 9c984c5b04d87df759f9e85b878044a2b29fdfa7 [diff] |
Apply base_bind_rewriters to //chrome/browser/extensions This CL applies //tools/clang/base_bind_rewriters to //chrome/browser/extensions. It rewrites base::Bind to base::BindOnce where the resulting base::Callback is immediately converted to base::OnceCallback, which is considered safe to use base::BindOnce. E.g.: base::PostTask(FROM_HERE, base::Bind([]{})); base::OnceClosure cb = base::Bind([]{}); are converted to: base::PostTask(FROM_HERE, base::BindOnce([]{})); base::OnceClosure cb = base::BindOnce([]{}); This reduces the number of 'base::Bind' in //device from from 648 to 612 as tracked at http://goo.gl/LUVhDj Bug: 714018 Change-Id: I1a92511d1fa36f9fb2ed048c8e44ca4247b46e78 Reviewed-on: https://chromium-review.googlesource.com/952404 Reviewed-by: Ken Rockot <rockot@chromium.org> Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#542727}
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 .