Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
index 5ac89b26a8f9e67b76d9cc729bf5c4503e3ffbe2..0702d7e27c93d9c5eb250fe77ff1f18c93d5fb63 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
@@ -78,6 +78,7 @@ |
#include "chrome/browser/ui/singleton_tabs.h" |
#include "chrome/browser/upgrade_detector.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/features.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/generated_resources.h" |
@@ -106,7 +107,7 @@ |
#include "ui/chromeos/ime/input_method_menu_item.h" |
#include "ui/chromeos/ime/input_method_menu_manager.h" |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
#include "chrome/browser/supervised_user/supervised_user_service.h" |
#include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
#endif |
@@ -1053,7 +1054,7 @@ SystemTrayDelegateChromeOS::GetLegacySupervisedUserMessage() const { |
const base::string16 |
SystemTrayDelegateChromeOS::GetChildUserMessage() const { |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
SupervisedUserService* service = |
SupervisedUserServiceFactory::GetForProfile(user_profile_); |
base::string16 first_custodian = |