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

Unified Diff: chrome/common/chrome_features.h

Issue 2512563003: Convert enable_plugins to a buildflag header. (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_content_client_unittest.cc ('k') | chrome/common/chrome_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_features.h
diff --git a/chrome/common/chrome_features.h b/chrome/common/chrome_features.h
index 94b7daa3969a419032f80fa48ee1fa40ae8f974f..a1bd438006c51db44a4524a1feae4cdee3ed4625 100644
--- a/chrome/common/chrome_features.h
+++ b/chrome/common/chrome_features.h
@@ -10,6 +10,7 @@
#include "base/feature_list.h"
#include "extensions/features/features.h"
+#include "ppapi/features/features.h"
#include "printing/features/features.h"
namespace features {
@@ -94,7 +95,7 @@ extern const base::Feature kOfflinePageDownloadSuggestionsFeature;
extern const base::Feature kOverrideYouTubeFlashEmbed;
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
extern const base::Feature kPreferHtmlOverPlugins;
#endif
@@ -108,7 +109,7 @@ extern const base::Feature kPushMessagingBackgroundMode;
extern const base::Feature kRuntimeMemoryLeakDetector;
#endif // defined(OS_CHROMEOS)
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
extern const base::Feature kRunAllFlashInAllowMode;
#endif
« no previous file with comments | « chrome/common/chrome_content_client_unittest.cc ('k') | chrome/common/chrome_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698