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

Side by Side Diff: third_party/widevine/cdm/widevine_cdm_common.h

Issue 1957643002: media: Move widevine CDM targets to WidevineCdm folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: @loader_path/. Created 4 years, 7 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_ 5 #ifndef WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_
6 #define WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_ 6 #define WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_
7 7
8 // This file defines constants common to all Widevine CDM versions. 8 // This file defines constants common to all Widevine CDM versions.
9 9
10 // Widevine CDM version contains 4 components, e.g. 1.4.0.195. 10 // Widevine CDM version contains 4 components, e.g. 1.4.0.195.
11 const int kWidevineCdmVersionNumComponents = 4; 11 const int kWidevineCdmVersionNumComponents = 4;
12 12
13 // "alpha" is a temporary name until a convention is defined. 13 // "alpha" is a temporary name until a convention is defined.
14 const char kWidevineKeySystem[] = "com.widevine.alpha"; 14 const char kWidevineKeySystem[] = "com.widevine.alpha";
15 15
16 // This type is used to register the Widevine CDM. 16 // This type is used to register the Widevine CDM.
17 const char kWidevineCdmType[] = "Widevine"; 17 const char kWidevineCdmType[] = "Widevine";
18 18
19 // Widevine CDM files are in a directory with this name.
20 const char kWidevineCdmBaseDirectory[] = "WidevineCdm";
21
19 // This name is used by UMA. Do not change it! 22 // This name is used by UMA. Do not change it!
20 const char kWidevineKeySystemNameForUMA[] = "Widevine"; 23 const char kWidevineKeySystemNameForUMA[] = "Widevine";
21 24
22 const char kWidevineCdmDisplayName[] = "Widevine Content Decryption Module"; 25 const char kWidevineCdmDisplayName[] = "Widevine Content Decryption Module";
23 26
24 // Will be parsed as HTML. 27 // Will be parsed as HTML.
25 const char kWidevineCdmDescription[] = 28 const char kWidevineCdmDescription[] =
26 "Enables Widevine licenses for playback of HTML audio/video content."; 29 "Enables Widevine licenses for playback of HTML audio/video content.";
27 30
28 #if defined(ENABLE_PEPPER_CDMS) 31 #if defined(ENABLE_PEPPER_CDMS)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const char kCdmSupportedCodecAvc1[] = "avc1"; 63 const char kCdmSupportedCodecAvc1[] = "avc1";
61 #endif // defined(USE_PROPRIETARY_CODECS) 64 #endif // defined(USE_PROPRIETARY_CODECS)
62 65
63 #if defined(OS_MACOSX) || defined(OS_WIN) 66 #if defined(OS_MACOSX) || defined(OS_WIN)
64 // CDM is installed by the component installer instead of the Chrome installer. 67 // CDM is installed by the component installer instead of the Chrome installer.
65 #define WIDEVINE_CDM_IS_COMPONENT 68 #define WIDEVINE_CDM_IS_COMPONENT
66 #endif // defined(OS_MACOSX) || defined(OS_WIN) 69 #endif // defined(OS_MACOSX) || defined(OS_WIN)
67 #endif // defined(ENABLE_PEPPER_CDMS) 70 #endif // defined(ENABLE_PEPPER_CDMS)
68 71
69 #endif // WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_ 72 #endif // WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_
OLDNEW
« third_party/widevine/cdm/BUILD.gn ('K') | « third_party/widevine/cdm/widevine_cdm.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698