Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
index 8100381440b30abb9dd846a12d54dbcca59a61d4..22fafc834b40736b47e723da48a008a48ab1f54a 100644 |
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
@@ -13,6 +13,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/apps/app_info_dialog.h" |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/common/features.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/browser_resources.h" |
@@ -35,7 +36,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "url/gurl.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 |
@@ -147,7 +148,7 @@ void ExtensionSettingsHandler::GetLocalizedValues( |
l10n_util::GetStringUTF16(IDS_EXTENSIONS_POLICY_RECOMMENDED)); |
source->AddString("extensionSettingsDependentExtensions", |
l10n_util::GetStringUTF16(IDS_EXTENSIONS_DEPENDENT_EXTENSIONS)); |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
const SupervisedUserService* supervised_user_service = |
SupervisedUserServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())); |
source->AddString("extensionSettingsSupervisedUser", |