| Index: chrome/browser/profiles/profile_info_cache.cc
|
| diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
|
| index dcd2ed2a2602336ea46950eef976bcc11326b823..fad9b363d58cb15b603448fb2c3d6e6215bac41b 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.cc
|
| +++ b/chrome/browser/profiles/profile_info_cache.cc
|
| @@ -22,6 +22,7 @@
|
| #include "chrome/browser/profiles/profile_avatar_downloader.h"
|
| #include "chrome/browser/profiles/profile_avatar_icon_util.h"
|
| #include "chrome/browser/profiles/profiles_state.h"
|
| +#include "chrome/common/features.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/grit/generated_resources.h"
|
| #include "components/prefs/pref_registry_simple.h"
|
| @@ -34,7 +35,7 @@
|
| #include "ui/gfx/image/image.h"
|
| #include "ui/gfx/image/image_util.h"
|
|
|
| -#if defined(ENABLE_SUPERVISED_USERS)
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| #include "chrome/browser/supervised_user/supervised_user_constants.h"
|
| #endif
|
|
|
| @@ -400,7 +401,7 @@ bool ProfileInfoCache::ProfileIsSupervisedAtIndex(size_t index) const {
|
| }
|
|
|
| bool ProfileInfoCache::ProfileIsChildAtIndex(size_t index) const {
|
| -#if defined(ENABLE_SUPERVISED_USERS)
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| return GetSupervisedUserIdOfProfileAtIndex(index) ==
|
| supervised_users::kChildAccountSUID;
|
| #else
|
|
|