Migrate base::{size,empty,data} to STL equivalents in //components.
Bug: 1299695 Change-Id: Ia2ef2239d649b2a50569cad9b3f293ca23510b68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3491962 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Owners-Override: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#975484}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
91273092b0
commit
7b7aaecca4
components
autofill
content
renderer
core
browser
ios
form_util
autofill_assistant
browser
base32
blocklist
opt_out_blocklist
bookmarks
captive_portal
cbor
cdm
certificate_transparency
client_update_protocol
cloud_devices
common
commerce
component_updater
installer_policies
content_settings
core
crash
android
content
core
cronet
crx_file
dbus
discardable_memory
domain_reliability
download
internal
drive
embedder_support
origin_trials
error_page
exo
favicon
favicon_base
feature_engagement
feedback
filename_generation
flags_ui
gcm_driver
crypto
google
core
common
history
content
core
browser
history_clusters
core
image_fetcher
metrics
field_trials_provider_unittest.ccfile_metrics_provider.ccfile_metrics_provider_unittest.cc
system_session_analyzer
mirroring
service
nacl
browser
common
renderer
zygote
navigation_metrics
network_session_configurator
common
network_time
no_state_prefetch
ntp_snippets
omnibox
browser
autocomplete_input.ccautocomplete_input_unittest.ccautocomplete_match.ccautocomplete_match_type.ccautocomplete_match_unittest.ccautocomplete_provider_unittest.ccautocomplete_result_unittest.ccbookmark_provider.ccbookmark_provider_unittest.ccbuiltin_provider_unittest.cchistory_quick_provider_performance_unittest.cchistory_quick_provider_unittest.cchistory_url_provider_unittest.ccin_memory_url_index_types_unittest.ccin_memory_url_index_unittest.cckeyword_provider_unittest.ccomnibox_edit_model_unittest.ccomnibox_view_unittest.ccshortcuts_backend_unittest.ccshortcuts_database_unittest.ccshortcuts_provider_unittest.cc
open_from_clipboard
optimization_guide
os_crypt
page_info
password_manager
core
browser
android_affiliation
form_parsing
import
leak_detection
leak_detection_dialog_utils_unittest.cclogin_database_ios_unittest.ccpassword_hash_data_unittest.ccpassword_reuse_detection_manager_unittest.ccpassword_sync_util_unittest.ccvotes_uploader.ccios
payments
core
pdf
permissions
policy
core
browser
common
prefs
printing
proxy_config
query_parser
rlz
safe_browsing
core
safe_search_api
search_engines
default_search_policy_handler.cctemplate_url_prepopulate_data.cctemplate_url_prepopulate_data_unittest.cctemplate_url_unittest.cc
services
filesystem
quarantine
storage
dom_storage
public
cpp
filesystem
service_worker
sessions
signin
core
internal
identity_manager
site_engagement
content
spellcheck
ssl_errors
storage_monitor
subresource_filter
content
sync
sync_device_info
tab_count_metrics
test
translate
core
language_detection
update_client
upload_list
url_formatter
url_matcher
url_pattern_index
variations
entropy_provider_unittest.cc
field_trial_config
hashing_unittest.ccnet
service
study_filtering_unittest.ccvariations_seed_processor_unittest.ccvisitedlink
browser
viz
common
demo
client
host
service
display
frame_sinks
test
webcrypto
algorithms
webrtc
zoom
zucchini
@ -70,7 +70,7 @@ class SafeSearchURLCheckerClientTest : public testing::Test {
|
||||
|
||||
protected:
|
||||
GURL GetNewURL() {
|
||||
CHECK(next_url_ < base::size(kURLs));
|
||||
CHECK(next_url_ < std::size(kURLs));
|
||||
return GURL(kURLs[next_url_++]);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "base/bind.h"
|
||||
#include "base/callback.h"
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/test/scoped_feature_list.h"
|
||||
#include "base/test/task_environment.h"
|
||||
@ -68,7 +67,7 @@ class SafeSearchURLCheckerTest : public testing::Test {
|
||||
|
||||
protected:
|
||||
GURL GetNewURL() {
|
||||
CHECK(next_url_ < base::size(kURLs));
|
||||
CHECK(next_url_ < std::size(kURLs));
|
||||
return GURL(kURLs[next_url_++]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user