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

Unified Diff: content/browser/loader/mime_sniffing_resource_handler.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
Index: content/browser/loader/mime_sniffing_resource_handler.h
diff --git a/content/browser/loader/mime_sniffing_resource_handler.h b/content/browser/loader/mime_sniffing_resource_handler.h
index 05b901a9c0cb51ca16509e4bc63b6bcf14d8ffca..8465c07979fa4eb4e34a01ab4731c87f387dff07 100644
--- a/content/browser/loader/mime_sniffing_resource_handler.h
+++ b/content/browser/loader/mime_sniffing_resource_handler.h
@@ -14,6 +14,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/resource_controller.h"
#include "content/public/common/request_context_type.h"
+#include "ppapi/features/features.h"
namespace net {
class URLRequest;
@@ -150,7 +151,7 @@ class CONTENT_EXPORT MimeSniffingResourceHandler
State state_;
ResourceDispatcherHostImpl* host_;
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
PluginService* plugin_service_;
#endif
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/loader/mime_sniffing_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698