| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_BASE_EME_CONSTANTS_H_ | 5 #ifndef MEDIA_BASE_EME_CONSTANTS_H_ |
| 6 #define MEDIA_BASE_EME_CONSTANTS_H_ | 6 #define MEDIA_BASE_EME_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 namespace media { | 10 namespace media { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 EME_FEATURE_OPTIONAL, | 83 EME_FEATURE_OPTIONAL, |
| 84 EME_FEATURE_REQUIRED, | 84 EME_FEATURE_REQUIRED, |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 enum class EmeMediaType { | 87 enum class EmeMediaType { |
| 88 AUDIO, | 88 AUDIO, |
| 89 VIDEO, | 89 VIDEO, |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 // Robustness values understood by KeySystems. | 92 // Robustness values understood by KeySystems. |
| 93 // Note: KeySystems expects this ordering (in GetRobustnessConfigRule()), | 93 // Note: key_systems.cc expects this ordering in GetRobustnessConfigRule(), |
| 94 // changes may be required there if this list changes. | 94 // make sure to correct that code if this list changes. |
| 95 enum class EmeRobustness { | 95 enum class EmeRobustness { |
| 96 INVALID, | 96 INVALID, |
| 97 EMPTY, | 97 EMPTY, |
| 98 SW_SECURE_CRYPTO, | 98 SW_SECURE_CRYPTO, |
| 99 SW_SECURE_DECODE, | 99 SW_SECURE_DECODE, |
| 100 HW_SECURE_CRYPTO, | 100 HW_SECURE_CRYPTO, |
| 101 HW_SECURE_DECODE, | 101 HW_SECURE_DECODE, |
| 102 HW_SECURE_ALL, | 102 HW_SECURE_ALL, |
| 103 }; | 103 }; |
| 104 | 104 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 120 // The configuration option is supported, but the user experience may be | 120 // The configuration option is supported, but the user experience may be |
| 121 // improved if a distinctive identifier is available. | 121 // improved if a distinctive identifier is available. |
| 122 IDENTIFIER_RECOMMENDED, | 122 IDENTIFIER_RECOMMENDED, |
| 123 // The configuration option is supported without conditions. | 123 // The configuration option is supported without conditions. |
| 124 SUPPORTED, | 124 SUPPORTED, |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 } // namespace media | 127 } // namespace media |
| 128 | 128 |
| 129 #endif // MEDIA_BASE_EME_CONSTANTS_H_ | 129 #endif // MEDIA_BASE_EME_CONSTANTS_H_ |
| OLD | NEW |