Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7446)

Unified Diff: chrome/common/pref_names.cc

Issue 2406303003: Move enable_app_list to a buildflag. (Closed)
Patch Set: More grit defines Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698