#ifndef MEDIA_CDM_CLEAR_KEY_CDM_COMMON_H_
#define MEDIA_CDM_CLEAR_KEY_CDM_COMMON_H_
#include "build/build_config.h"
#include "media/cdm/cdm_type.h"
#include "media/media_buildflags.h"
namespace media {
inline constexpr char kClearKeyKeySystem[] = …;
#if BUILDFLAG(IS_ANDROID)
inline const uint8_t kClearKeyUuid[16] = {
0xE2, 0x71, 0x9D, 0x58, 0xA9, 0x85, 0xB3, 0xC9,
0x78, 0x1A, 0xB0, 0X30, 0xAF, 0x78, 0xD3, 0x0E
};
#endif
inline constexpr char kExternalClearKeyKeySystem[] = …;
#if BUILDFLAG(IS_WIN)
inline constexpr char kMediaFoundationClearKeyKeySystem[] =
"org.chromium.externalclearkey.mediafoundation";
inline constexpr wchar_t kMediaFoundationClearKeyKeySystemWideString[] =
L"org.chromium.externalclearkey.mediafoundation";
#endif
inline constexpr char kExternalClearKeyInvalidKeySystem[] = …;
inline constexpr char kExternalClearKeyDecryptOnlyKeySystem[] = …;
inline constexpr char kExternalClearKeyMessageTypeTestKeySystem[] = …;
inline constexpr char kExternalClearKeyFileIOTestKeySystem[] = …;
inline constexpr char kExternalClearKeyOutputProtectionTestKeySystem[] = …;
inline constexpr char kExternalClearKeyPlatformVerificationTestKeySystem[] = …;
inline constexpr char kExternalClearKeyCrashKeySystem[] = …;
inline constexpr char kExternalClearKeyVerifyCdmHostTestKeySystem[] = …;
inline constexpr char kExternalClearKeyStorageIdTestKeySystem[] = …;
inline constexpr char kExternalClearKeyDifferentCdmTypeTestKeySystem[] = …;
#if BUILDFLAG(ENABLE_LIBRARY_CDMS)
inline constexpr char kClearKeyCdmLibraryName[] = …;
inline constexpr char kClearKeyCdmBaseDirectory[] = …"lib/"
#endif
"ClearKeyCdm";
inline constexpr char kClearKeyCdmDisplayName[] = …;
#endif
#if BUILDFLAG(IS_WIN)
inline constexpr char kMediaFoundationClearKeyCdmLibraryName[] =
"MediaFoundation.ClearKey.CDM";
inline constexpr char kMediaFoundationClearKeyCdmDisplayName[] =
"Media Foundation Clear Key CDM";
#endif
const CdmType kClearKeyCdmType{ … };
const CdmType kClearKeyCdmDifferentCdmType{ … };
#if BUILDFLAG(IS_WIN)
const CdmType kMediaFoundationClearKeyCdmType{0xbec8776b734d80faull,
0xdff8375bb3cb3df8ull};
#endif
}
#endif