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

Unified Diff: chrome/common/pref_names.h

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Test updates 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
Index: chrome/common/pref_names.h
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 94b31a432a1ac5268b2be1c3ed006b3166e0771c..c6355e4c63c11738125eb394563608fd7b92489a 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -11,6 +11,7 @@
#include "build/build_config.h"
#include "chrome/common/features.h"
+#include "extensions/features/features.h"
namespace prefs {
@@ -433,7 +434,7 @@ extern const char kEasyUnlockEnabled[];
extern const char kEasyUnlockPairing[];
extern const char kEasyUnlockProximityRequired[];
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
extern const char kToolbarIconSurfacingBubbleAcknowledged[];
extern const char kToolbarIconSurfacingBubbleLastShowTime[];
extern const char kToolbarMigratedComponentActionStatus[];
@@ -817,7 +818,7 @@ extern const char kRegisteredSupervisedUserWhitelists[];
extern const char kRestartInBackground[];
#endif
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
extern const char kAnimationPolicy[];
#endif

Powered by Google App Engine
This is Rietveld 408576698