Index: extensions/browser/guest_view/web_view/web_view_permission_helper.h |
diff --git a/extensions/browser/guest_view/web_view/web_view_permission_helper.h b/extensions/browser/guest_view/web_view/web_view_permission_helper.h |
index c3a147d4a83ba64ee1f244837dd4cbdde2732228..eb8bfb3929ffd18543a02f485a3398343fac5882 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_permission_helper.h |
+++ b/extensions/browser/guest_view/web_view/web_view_permission_helper.h |
@@ -13,6 +13,7 @@ |
#include "content/public/browser/web_contents_observer.h" |
#include "content/public/common/media_stream_request.h" |
#include "extensions/browser/guest_view/web_view/web_view_permission_types.h" |
+#include "ppapi/features/features.h" |
using base::UserMetricsAction; |
@@ -141,12 +142,12 @@ class WebViewPermissionHelper |
bool allow, |
const std::string& user_input); |
-#if defined(ENABLE_PLUGINS) |
+#if BUILDFLAG(ENABLE_PLUGINS) |
// content::WebContentsObserver implementation. |
bool OnMessageReceived(const IPC::Message& message, |
content::RenderFrameHost* render_frame_host) override; |
bool OnMessageReceived(const IPC::Message& message) override; |
-#endif // defined(ENABLE_PLUGINS) |
+#endif // BUILDFLAG(ENABLE_PLUGINS) |
// A counter to generate a unique request id for a permission request. |
// We only need the ids to be unique for a given WebViewGuest. |