0

Remove unneeded base/stl_util.h includes in components/ and ui/.

Repeatedly use grep to find all the files in components/ and ui/ that
includes base/stl_util.h but do not use any functions provided by
base/stl_util.h and base/cxx*_backports.h, and then remove the
base/stl_util.h include from them. Files that include base/stl_util.h,
but actually needs base/cxx*_backports.h, will be dealt with separately.

Bug: 1194078
Change-Id: I4b598b64de3aab1e3ee61fed81a31e35913e2ed1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2912134
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Auto-Submit: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#885638}
This commit is contained in:
Lei Zhang
2021-05-21 20:18:20 +00:00
committed by Chromium LUCI CQ
parent 0e6c5f8fe3
commit 74745fa888
155 changed files with 2 additions and 155 deletions
components
arc
autofill
base32
bookmarks
browsing_data
cast_channel
cbor
certificate_transparency
chromeos_camera
component_updater
consent_auditor
content_settings
cronet
data_reduction_proxy
dbus
dom_distiller
download
exo
feed
flags_ui
gcm_driver
history
core
invalidation
leveldb_proto
media_message_center
media_router
metrics
mirroring
offline_items_collection
offline_pages
omnibox
page_info
page_load_metrics
password_manager
payments
performance_manager
policy
prefs
safe_browsing
safe_search_api
security_interstitials
services
storage
indexed_db
sessions
signin
spellcheck
storage_monitor
subresource_filter
sync
engine
test
fake_server
sync_user_events
tracing
translate
update_client
url_formatter
variations
viz
webcrypto
webdata
ui

@ -9,7 +9,6 @@
#include "base/callback.h"
#include "base/json/json_reader.h"
#include "base/metrics/histogram_macros.h"
#include "base/stl_util.h"
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"

@ -14,7 +14,6 @@
#include "base/json/json_reader.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
#include "base/stl_util.h"
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"