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

Unified Diff: chrome/common/chrome_features.cc

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/chrome_features.h ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index 2bdf12b577a8df6e4d5d37d838f0b6f2401e723d..c24c915ab8ea4cd1c082ffec7e63c0f4f648ec63 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -4,6 +4,8 @@
#include "chrome/common/chrome_features.h"
+#include "extensions/features/features.h"
+
namespace features {
// All features in alphabetical order.
@@ -107,7 +109,7 @@ const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks",
base::FEATURE_DISABLED_BY_DEFAULT};
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
// Enabled or disabled the Material Design version of chrome://extensions.
const base::Feature kMaterialDesignExtensions{
"MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT};
« no previous file with comments | « chrome/common/chrome_features.h ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698