components: Remove IS_CHROMEOS_ASH uses
IS_CHROMEOS_ASH is deprecated. Use the equivalent IS_CHROMEOS instead. Bug: b:354842935 Change-Id: I3e6762c14aaac20571d5e2b20f0276f7619ce3e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6108986 Owners-Override: Georg Neis <neis@chromium.org> Reviewed-by: Jun Ishiguro <junis@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1400010}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
47f064801e
commit
0ea7859156
components
account_manager_core
chromeos
crash
core
permissions
policy
core
browser
policy_conversions.ccpolicy_conversions.hpolicy_conversions_client.hpolicy_conversions_client_unittest.ccpolicy_pref_mapping_test.cc
common
cloud
affiliation_unittest.cccloud_policy_client_unittest.cccloud_policy_constants.cccloud_policy_util.cccloud_policy_validator.cccloud_policy_validator_unittest.ccencrypted_reporting_job_configuration_unittest.ccrealtime_reporting_job_configuration_unittest.cc
generate_policy_source_unittest.cctest
management
policy_merger.ccpolicy_switches.ccpolicy_switches.hremote_commands
prefs
signin
core
internal
identity_manager
account_fetcher_service.ccaccount_tracker_service.ccaccount_tracker_service.haccount_tracker_service_unittest.ccaccounts_mutator_impl.ccaccounts_mutator_impl.hprimary_account_manager.ccprimary_account_manager.hprimary_account_manager_unittest.ccprimary_account_mutator_impl.ccprimary_account_mutator_impl.hprofile_oauth2_token_service.ccprofile_oauth2_token_service_builder.cc
public
base
device_id_helper.ccdevice_id_helper.hdevice_id_helper_unittest.ccsignin_pref_names.ccsignin_pref_names.hsignin_switches.ccsignin_switches.h
identity_manager
access_token_restriction.ccaccess_token_restriction_unittest.ccaccounts_mutator.haccounts_mutator_unittest.ccidentity_manager.hidentity_manager_builder.ccidentity_manager_unittest.ccidentity_test_environment.ccidentity_test_environment.hidentity_test_utils.ccidentity_test_utils.hprimary_account_access_token_fetcher_unittest.ccprimary_account_mutator.hprimary_account_mutator_unittest.cctest_accounts.cc
sync
service
sync_auth_manager_unittest.ccsync_policy_handler.ccsync_policy_handler_unittest.ccsync_service.ccsync_service_impl.ccsync_service_impl.hsync_service_impl_startup_unittest.ccsync_service_impl_unittest.cc
test
sync_device_info
device_info_sync_bridge_unittest.cclocal_device_info_provider_impl_unittest.cclocal_device_info_util.cclocal_device_info_util_unittest.cc
ukm
observers
ukm_service_unittest.ccvariations
client_filterable_state.cc
field_trial_config
service
google_groups_manager.ccgoogle_groups_manager_prefs.hgoogle_groups_manager_unittest.ccvariations_service.ccvariations_service.h
variations_crash_keys.ccvariations_crash_keys_chromeos.ccvariations_seed_store.ccvariations_seed_store.hvariations_seed_store_unittest.cc@ -37,7 +37,7 @@
|
||||
#include "components/prefs/android/pref_service_android.h"
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
#if BUILDFLAG(IS_CHROMEOS)
|
||||
namespace pref_service_util {
|
||||
void GetAllDottedPaths(std::string_view prefix,
|
||||
const base::Value::Dict& dict,
|
||||
@ -63,7 +63,7 @@ void GetAllDottedPaths(const base::Value::Dict& dict,
|
||||
GetAllDottedPaths("", dict, paths);
|
||||
}
|
||||
} // namespace pref_service_util
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
#endif // BUILDFLAG(IS_CHROMEOS)
|
||||
|
||||
PrefService::PersistentPrefStoreLoadingObserver::
|
||||
PersistentPrefStoreLoadingObserver(PrefService* pref_service)
|
||||
|
@ -62,7 +62,7 @@ class PrefMemberBase;
|
||||
class ScopedUserPrefUpdateBase;
|
||||
}
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
#if BUILDFLAG(IS_CHROMEOS)
|
||||
namespace pref_service_util {
|
||||
// Gets all the dotted paths from `dict`. For example if values stored are
|
||||
// `{"a" : { "b" : true, "c": false }}`, then `paths` gets ["a.b", "a.c"].
|
||||
|
@ -31,7 +31,7 @@ const char kPrefName[] = "pref.name";
|
||||
|
||||
} // namespace
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
#if BUILDFLAG(IS_CHROMEOS)
|
||||
TEST(PrefServiceUtilTest, GetAllDottedPaths) {
|
||||
using pref_service_util::GetAllDottedPaths;
|
||||
|
||||
|
Reference in New Issue
Block a user