Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
index 289fbc89c24ce7f3cbfa3295663d12c894b3ab1a..f08402e61fb968dc1734f862524784e201daa406 100644 |
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
@@ -101,7 +101,7 @@ |
#include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
#endif |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
#include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_factory.h" |
#include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
#if defined(OS_CHROMEOS) |
@@ -247,7 +247,7 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() { |
#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
cloud_print::PrivetNotificationServiceFactory::GetInstance(); |
#endif |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
#if defined(OS_CHROMEOS) |
chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); |
chromeos::ManagerPasswordServiceFactory::GetInstance(); |
@@ -315,7 +315,7 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() { |
prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); |
ProfileSyncServiceFactory::GetInstance(); |
ProtocolHandlerRegistryFactory::GetInstance(); |
-#if defined(ENABLE_SESSION_SERVICE) |
+#if BUILDFLAG(ENABLE_SESSION_SERVICE) |
SessionServiceFactory::GetInstance(); |
#endif |
ShortcutsBackendFactory::GetInstance(); |