Commit 85407b18 authored by Alex Turner's avatar Alex Turner Committed by Commit Bot

Remove base::Bind/Callback legacy exemptions for converted directories

Use of base::Bind and base::Callback is deprecated in favor of the more
explicit Once/Repeating versions. A presubmit enforces this, except on
a set of files and directories that have not yet been converted. This
list, however, has not always been updated when a directory is migrated.
This cl removes the legacy exemption for a number of directories that
have been converted over, but not yet removed from the list. This will
help prevent regressions.

Bug: 1141533, 1007649, 1007666, 1007703, 1007704, 1007835
Change-Id: I1ab08a12fb8eded644272440c7d1d4d0acc9f033
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2490801Reviewed-by: default avatarDirk Pranke <dpranke@google.com>
Commit-Queue: Alex Turner <alexmt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819959}
parent c559a502
...@@ -374,16 +374,12 @@ _NOT_CONVERTED_TO_MODERN_BIND_AND_CALLBACK = '|'.join(( ...@@ -374,16 +374,12 @@ _NOT_CONVERTED_TO_MODERN_BIND_AND_CALLBACK = '|'.join((
'^chrome/services/', '^chrome/services/',
'^chrome/test/chromedriver/server/http_handler.cc', '^chrome/test/chromedriver/server/http_handler.cc',
'^chrome/tools/', '^chrome/tools/',
'^chromecast/media/',
'^chromeos/attestation/', '^chromeos/attestation/',
'^chromeos/components/', '^chromeos/components/',
'^components/arc/',
'^components/cast_channel/', '^components/cast_channel/',
'^components/component_updater/', '^components/component_updater/',
'^components/content_settings/', '^components/content_settings/',
'^components/drive/', '^components/drive/',
'^components/nacl/',
'^components/navigation_interception/',
'^components/ownership/', '^components/ownership/',
'^components/policy/', '^components/policy/',
'^components/search_engines/', '^components/search_engines/',
...@@ -411,7 +407,6 @@ _NOT_CONVERTED_TO_MODERN_BIND_AND_CALLBACK = '|'.join(( ...@@ -411,7 +407,6 @@ _NOT_CONVERTED_TO_MODERN_BIND_AND_CALLBACK = '|'.join((
'^net/url_request/', '^net/url_request/',
'^ppapi/proxy/', '^ppapi/proxy/',
'^services/', '^services/',
'^third_party/blink/',
'^tools/clang/base_bind_rewriters/', # Intentional. '^tools/clang/base_bind_rewriters/', # Intentional.
'^tools/gdb/gdb_chrome.py', # Intentional. '^tools/gdb/gdb_chrome.py', # Intentional.
)) ))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment