Index: third_party/widevine/cdm/widevine_cdm_common.h |
diff --git a/third_party/widevine/cdm/widevine_cdm_common.h b/third_party/widevine/cdm/widevine_cdm_common.h |
index 9004555b8e54bf9c45b1e80eae2336e05b8e4032..24cb289b32b9dcb6c533b2010bb57afa3663d416 100644 |
--- a/third_party/widevine/cdm/widevine_cdm_common.h |
+++ b/third_party/widevine/cdm/widevine_cdm_common.h |
@@ -5,6 +5,8 @@ |
#ifndef WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_ |
#define WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_ |
+#if defined(ENABLE_WIDEVINE_CDM) |
+ |
#include "base/files/file_path.h" |
// This file defines constants common to all Widevine CDM versions. |
@@ -60,10 +62,8 @@ const char kCdmSupportedCodecAac[] = "aac"; |
const char kCdmSupportedCodecAvc1[] = "avc1"; |
#endif // defined(USE_PROPRIETARY_CODECS) |
-#if defined(OS_MACOSX) || defined(OS_WIN) |
-// CDM is installed by the component installer instead of the Chrome installer. |
-#define WIDEVINE_CDM_IS_COMPONENT |
-#endif // defined(OS_MACOSX) || defined(OS_WIN) |
#endif // defined(ENABLE_PEPPER_CDMS) |
+#endif // defined(ENABLE_WIDEVINE_CDM) |
+ |
#endif // WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_ |