|
Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{a,b,c,d,e,f,g}*
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}
Committed: https://chromium.googlesource.com/chromium/src/+/29ea5c72b53e6155f6be77abcb7c65ed5187e122
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+245 lines, -270 lines) |
Patch |
|
M |
chrome/browser/after_startup_task_utils.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/after_startup_task_utils_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/apps/guest_view/web_view_browsertest.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/apps/shortcut_manager.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/background/background_contents_service.cc
|
View
|
1
2
3
|
3 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/background/background_mode_manager.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/bookmarks/bookmark_html_writer.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browser_about_handler.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_encoding_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_shutdown.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/captive_portal/captive_portal_browsertest.cc
|
View
|
1
2
3
|
7 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/captive_portal/captive_portal_tab_reloader.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/certificate_manager_model.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
3
|
4 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_extra_parts_x11.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_linux.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_posix.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
|
9 chunks |
+28 lines, -34 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_plugin_browsertest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_quota_permission_context.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_site_per_process_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/custom_handlers/protocol_handler_registry.cc
|
View
|
1
2
3
|
5 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/data_usage/tab_id_annotator_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/data_use_measurement/chrome_data_use_ascriber_service.cc
|
View
|
1
2
3
|
7 chunks |
+37 lines, -36 lines |
0 comments
|
Download
|
|
M |
chrome/browser/engagement/site_engagement_service.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/engagement/site_engagement_service_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/experiments/memory_ablation_experiment.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/favicon/content_favicon_driver_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/feedback/feedback_profile_observer.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/file_select_helper.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/gcm/fake_gcm_profile_service.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/geolocation/access_token_store_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/geolocation/chrome_access_token_store.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
Total messages: 51 (37 generated)
|