Index: chrome/browser/plugins/plugin_info_message_filter.cc |
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc |
index 4c14be387bcb0df57eeb82c1a1da989c825a1b33..c1043375281defa789561245fa3d9432502ae97b 100644 |
--- a/chrome/browser/plugins/plugin_info_message_filter.cc |
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc |
@@ -41,7 +41,6 @@ |
#include "content/public/browser/plugin_service_filter.h" |
#include "content/public/common/content_constants.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
-#include "ppapi/features/features.h" |
#include "url/gurl.h" |
#include "url/origin.h" |
#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
@@ -64,7 +63,7 @@ |
namespace { |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
+#if defined(ENABLE_PEPPER_CDMS) |
enum PluginAvailabilityStatusForUMA { |
PLUGIN_NOT_REGISTERED, |
@@ -85,7 +84,7 @@ |
#endif // defined(WIDEVINE_CDM_AVAILABLE) |
} |
-#endif // BUILDFLAG(ENABLE_PEPPER_CDMS) |
+#endif // defined(ENABLE_PEPPER_CDMS) |
// Report usage metrics for Silverlight and Flash plugin instantiations to the |
// RAPPOR service. |
@@ -188,7 +187,7 @@ |
IPC_BEGIN_MESSAGE_MAP(PluginInfoMessageFilter, message) |
IPC_MESSAGE_HANDLER_DELAY_REPLY(ChromeViewHostMsg_GetPluginInfo, |
OnGetPluginInfo) |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
+#if defined(ENABLE_PEPPER_CDMS) |
IPC_MESSAGE_HANDLER( |
ChromeViewHostMsg_IsInternalPluginAvailableForMimeType, |
OnIsInternalPluginAvailableForMimeType) |
@@ -262,7 +261,7 @@ |
} |
} |
-#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
+#if defined(ENABLE_PEPPER_CDMS) |
void PluginInfoMessageFilter::OnIsInternalPluginAvailableForMimeType( |
const std::string& mime_type, |
@@ -298,7 +297,7 @@ |
mime_type, is_plugin_disabled ? PLUGIN_DISABLED : PLUGIN_NOT_REGISTERED); |
} |
-#endif // BUILDFLAG(ENABLE_PEPPER_CDMS) |
+#endif // defined(ENABLE_PEPPER_CDMS) |
void PluginInfoMessageFilter::Context::DecidePluginStatus( |
const GetPluginInfo_Params& params, |