Index: chrome/common/pref_names.cc |
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
index ecb95d072455e9e6a94c40461b86775107a6575e..81283886b69d35f80b180e99ce9a39b5ade4ae4c 100644 |
--- a/chrome/common/pref_names.cc |
+++ b/chrome/common/pref_names.cc |
@@ -14,7 +14,7 @@ namespace prefs { |
// *************** PROFILE PREFS *************** |
// These are attached to the user profile |
-#if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) |
+#if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
// A preference to keep list of Android apps and their state. |
const char kArcApps[] = "arc.apps"; |
// A preference to store backup and restore state for Android apps. |
@@ -2081,7 +2081,7 @@ const char kRLZBrand[] = "rlz.brand"; |
const char kRLZDisabled[] = "rlz.disabled"; |
#endif |
-#if defined(ENABLE_APP_LIST) |
+#if BUILDFLAG(ENABLE_APP_LIST) |
// The directory in user data dir that contains the profile to be used with the |
// app launcher. |
const char kAppListProfile[] = "app_list.profile"; |
@@ -2125,7 +2125,7 @@ const char kAppLauncherDriveAppMapping[] = |
// A list of Drive app ids that tracks the uninstallable Drive apps. |
const char kAppLauncherUninstalledDriveApps[] = |
"apps.app_launcher.uninstalled_drive_apps"; |
-#endif // defined(ENABLE_APP_LIST) |
+#endif // BUILDFLAG(ENABLE_APP_LIST) |
#if defined(OS_WIN) |
// If set, the user requested to launch the app with this extension id while |