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

Unified Diff: content/renderer/renderer_blink_platform_impl.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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index a0cdfa0af782486922900ec7d30ed2f99083e717..e038d2bc1108721538e3841aff4aa289a18a7e2b 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -80,6 +80,7 @@
#include "media/filters/stream_parser_factory.h"
#include "mojo/common/common_type_converters.h"
#include "mojo/public/cpp/bindings/associated_group.h"
+#include "ppapi/features/features.h"
#include "services/service_manager/public/cpp/interface_provider.h"
#include "storage/common/database/database_identifier.h"
#include "storage/common/quota/quota_types.h"
@@ -744,7 +745,7 @@ void RendererBlinkPlatformImpl::getPluginList(
bool refresh,
const blink::WebSecurityOrigin& mainFrameOrigin,
blink::WebPluginListBuilder* builder) {
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
std::vector<WebPluginInfo> plugins;
if (!plugin_refresh_allowed_)
refresh = false;
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698