0

Remove unused "base/macros.h" in components/

Removes `#include "base/macros.h"` from files in components/ that do not
contain `ignore_result(`.

Bug: 1010217
Change-Id: Ic1ea0c59d63652bc896e80638a7ff919c872f1c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3275012
Commit-Queue: Peter Boström <pbos@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#940666}
This commit is contained in:
Peter Boström
2021-11-11 05:31:49 +00:00
committed by Chromium LUCI CQ
parent 4442cc3698
commit b9e2c27ca6
2226 changed files with 2 additions and 2318 deletions
components
apdu
arc
appfuse
arc_browser_context_keyed_service_factory_base.harc_features_parser.harc_util_unittest.cc
audio
camera
clipboard
compat_mode
crash_collector
disk_quota
ime
intent_helper
lock_screen
media_session
metrics
midis
net
obb_mounter
power
rotation_lock
session
storage_manager
test
timer
usb
video_accelerator
volume_mounter
wake_lock
assist_ranker
autofill
content
core
browser
address_normalization_manager.ccaddress_normalizer_impl.hautocomplete_history_manager.hautocomplete_history_manager_unittest.ccautofill_address_policy_handler.hautofill_credit_card_policy_handler.hautofill_external_delegate.hautofill_field.hautofill_ie_toolbar_import_win.ccautofill_merge_unittest.ccautofill_policy_handler.hautofill_profile_validator.hautofill_regexes.ccautofill_regexes_unittest.ccbrowser_autofill_manager.ccbrowser_autofill_manager.h
data_model
field_filler.h
form_parsing
form_structure.h
geo
logging
metrics
payments
rationalization_util_unittest.cctest_autofill_client.htest_autofill_clock.htest_autofill_driver.htest_autofill_profile_validator.htest_autofill_tick_clock.h
ui
validation_unittest.cc
webdata
common
ios
autofill_assistant
background_sync
background_task_scheduler
blocked_content
blocklist
bookmarks
browser_sync
browser_ui
browser_watcher
browsing_data
captive_portal
cast_certificate
cast_channel
cbor
cdm
certificate_transparency
chromeos_camera
client_update_protocol
cloud_devices
component_updater
consent_auditor
constrained_window
content_settings
contextual_search
crash
cronet
data_reduction_proxy
data_use_measurement
dbus
device_event_log
discardable_memory
dom_distiller
domain_reliability
download
content
database
internal
network
public
drive
embedder_support
enterprise
error_page
exo
favicon
favicon_base
feature_engagement
feedback
find_in_page
flags_ui
fullscreen_control
gcm_driver
global_media_controls
google
grpc_support
guest_os
guest_view
gwp_asan
crash_handler
heap_profiling
heavy_ad_intervention
history
image_fetcher
infobars
invalidation
javascript_dialogs
keep_alive_registry
keyed_service
language
link_header_util
location
login
lookalikes
media_control
media_message_center
media_router
memory_pressure
metrics
android_metrics_provider.hcall_stack_profile_builder.hcall_stack_profile_collector.hcall_stack_profile_metrics_provider.cccall_stack_profile_metrics_provider.hcall_stack_profile_metrics_provider_unittest.ccchild_call_stack_profile_collector.hclean_exit_beacon.hclient_info.hcloned_install_detector.h
content
cpu_metrics_provider.hdaily_event.hdaily_event_unittest.ccdata_use_tracker.hdrive_metrics_provider.henvironment_recorder.hexpired_histograms_checker.h
library_support
log_decoder_unittest.ccmachine_id_provider.hmetrics_log.hmetrics_log_manager.hmetrics_log_store.hmetrics_log_unittest.ccmetrics_log_uploader.hmetrics_provider.hmetrics_reporting_service.hmetrics_rotation_scheduler.hmetrics_scheduler.hmetrics_service.hmetrics_service_accessor.hmetrics_service_client_unittest.ccmetrics_service_unittest.ccmetrics_state_manager.hmetrics_state_manager_unittest.ccmetrics_upload_scheduler.h
net
reporting_service.hreporting_service_unittest.cc
serialization
stability_metrics_helper.hstability_metrics_helper_unittest.cc
structured
system_session_analyzer
test
ui
unsent_log_store.hunsent_log_store_metrics.hunsent_log_store_metrics_impl.hunsent_log_store_unittest.cc
metrics_services_manager
mirroring
nacl
navigation_interception
net_log
network_hints
network_time
no_state_prefetch
ntp_tiles
offline_items_collection
offline_pages
omnibox
open_from_clipboard
optimization_guide
os_crypt
ownership
page_image_annotation
page_info
page_load_metrics
paint_preview
password_manager
content
core
browser
android_affiliation
credential_manager_password_form_manager.cc
export
fake_form_fetcher.hfield_info_table.hform_fetcher.hform_fetcher_impl.hform_fetcher_impl_unittest.cc
form_parsing
form_saver.hform_saver_impl.h
generation
hash_password_manager.hhsts_query_unittest.cchttp_auth_manager_unittest.cchttp_auth_observer.hhttp_credentials_cleaner_unittest.cchttp_password_store_migrator.h
import
insecure_credentials_table.h
leak_detection
leak_detection_dialog_utils.hlogin_database.hmock_password_form_manager_for_ui.hpassword_autofill_manager.hpassword_feature_manager.hpassword_feature_manager_impl.hpassword_form_manager.hpassword_form_metrics_recorder.hpassword_generation_frame_helper.hpassword_manager.hpassword_manager_client.ccpassword_manager_client.hpassword_manager_driver.hpassword_manager_metrics_recorder.hpassword_manager_metrics_util.ccpassword_manager_unittest.ccpassword_manager_util_unittest.ccpassword_requirements_service.hpassword_reuse_detection_manager.hpassword_reuse_detector.hpassword_reuse_detector_consumer.hpassword_save_manager.hpassword_store.ccpassword_store.hpassword_store_built_in_backend.hpassword_store_sync.hpsl_matching_helper_unittest.cc
site_affiliation
sql_table_builder.hsql_table_builder_unittest.ccstatistics_table.hstore_metrics_reporter.hstore_metrics_reporter_unittest.ccstub_credentials_filter.hstub_form_saver.hstub_password_manager_client.hstub_password_manager_driver.h
sync
sync_credentials_filter.ccsync_credentials_filter.hsync_credentials_filter_unittest.cctest_password_store.h
ios
payments
pdf
performance_manager
permissions
plugins
policy
pref_registry
prefs
proxy_config
pwg_encoder
query_parser
query_tiles
quirks
reading_list
remote_cocoa
renderer_context_menu
rlz
safe_browsing
safe_search_api
scheduling_metrics
search_engines
search_provider_logos
security_interstitials
security_state
send_tab_to_self
services
session_manager
sessions
signin
core
internal
ios
public
site_engagement
site_isolation
speech
spellcheck
sqlite_proto
ssl_errors
storage_monitor
subresource_filter
content
core
tools
sync
base
driver
engine
model
nigori
test
sync_bookmarks
sync_device_info
sync_preferences
sync_sessions
sync_user_events
system_media_controls
tab_groups
thin_webview
tracing
translate
ui_devtools
ukm
undo
unified_consent
update_client
upload_list
url_matcher
url_pattern_index
user_manager
user_prefs
value_store
variations
visitedlink
viz
client
common
demo
host
service
display
display_embedder
frame_sinks
main
surfaces
test
web_cache
web_modal
web_package
web_resource
webapps
webauthn
webcrypto
webdata
webdata_services
webrtc_logging
webxr
wifi
zoom

@ -9,7 +9,6 @@
#include <memory>
#include <string>
#include "base/macros.h"
#include "base/memory/scoped_refptr.h"
#include "components/safe_search_api/url_checker_client.h"
#include "google_apis/google_api_keys.h"

@ -8,7 +8,6 @@
#include <memory>
#include <string>
#include "base/macros.h"
#include "base/memory/scoped_refptr.h"
#include "net/base/net_errors.h"
#include "services/network/test/test_url_loader_factory.h"

@ -13,7 +13,6 @@
#include "base/bind.h"
#include "base/callback.h"
#include "base/cxx17_backports.h"
#include "base/macros.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "components/safe_search_api/fake_url_checker_client.h"