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

Unified Diff: third_party/widevine/cdm/widevine_cdm_common.h

Issue 772043004: Replace WIDEVINE_CDM_AVAILABLE with a gyp define 'enable_widevine_cdm'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix #endif Created 6 years 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 | « third_party/widevine/cdm/widevine_cdm.gyp ('k') | third_party/widevine/cdm/widevine_cdm_version.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « third_party/widevine/cdm/widevine_cdm.gyp ('k') | third_party/widevine/cdm/widevine_cdm_version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698