Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 1766a6a20d91edbe7b1573966e0aee1465e432b6..bda2efea170bb7a6f94a7eab5baff390048e1be7 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -59,6 +59,7 @@ |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_paths_internal.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/features.h" |
#include "chrome/common/logging_chrome.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
@@ -100,7 +101,7 @@ |
#include "extensions/common/manifest.h" |
#endif |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
#include "chrome/browser/supervised_user/child_accounts/child_account_service.h" |
#include "chrome/browser/supervised_user/child_accounts/child_account_service_factory.h" |
#include "chrome/browser/supervised_user/supervised_user_service.h" |
@@ -350,7 +351,7 @@ ProfileManager::ProfileManager(const base::FilePath& user_data_dir) |
ProfileManager::~ProfileManager() { |
} |
-#if defined(ENABLE_SESSION_SERVICE) |
+#if BUILDFLAG(ENABLE_SESSION_SERVICE) |
// static |
void ProfileManager::ShutdownSessionServices() { |
ProfileManager* pm = g_browser_process->profile_manager(); |
@@ -1155,7 +1156,7 @@ void ProfileManager::DoFinalInitForServices(Profile* profile, |
} |
#endif |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
// Initialization needs to happen after extension system initialization (for |
// extension::ManagementPolicy) and InitProfileUserPrefs (for setting the |
// initializing the supervised flag if necessary). |