0

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:
Georg Neis
2024-12-24 01:13:59 -08:00
committed by Chromium LUCI CQ
parent 47f064801e
commit 0ea7859156
97 changed files with 358 additions and 381 deletions
components
account_manager_core
crash
permissions
policy
prefs
signin
sync
sync_device_info
ukm
variations

@ -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;