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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

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
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 38fe864ca3e51e0b7db29235504180fc250fa331..3048df6db6da8adc73137bcc090a2200e22a95d1 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -108,6 +108,7 @@
#include "content/public/browser/render_process_host.h"
#include "extensions/features/features.h"
#include "net/http/http_server_properties_manager.h"
+#include "ppapi/features/features.h"
#include "printing/features/features.h"
#if BUILDFLAG(ENABLE_APP_LIST)
@@ -377,7 +378,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
EasyUnlockService::RegisterPrefs(registry);
#endif
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
PluginFinder::RegisterPrefs(registry);
#endif
@@ -538,7 +539,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
ExtensionWelcomeNotification::RegisterProfilePrefs(registry);
#endif
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
PluginsUI::RegisterProfilePrefs(registry);
#endif

Powered by Google App Engine
This is Rietveld 408576698