Chromium Code Reviews| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 // The configuration option is supported, but the user experience may be | 122 // The configuration option is supported, but the user experience may be |
| 123 // improved if a distinctive identifier is available. | 123 // improved if a distinctive identifier is available. |
| 124 IDENTIFIER_RECOMMENDED, | 124 IDENTIFIER_RECOMMENDED, |
| 125 // The configuration option prevents use of persistent state. | 125 // The configuration option prevents use of persistent state. |
| 126 PERSISTENCE_NOT_ALLOWED, | 126 PERSISTENCE_NOT_ALLOWED, |
| 127 // The configuration option is supported if persistent state is available. | 127 // The configuration option is supported if persistent state is available. |
| 128 PERSISTENCE_REQUIRED, | 128 PERSISTENCE_REQUIRED, |
| 129 // The configuration option is supported if both a distinctive identifier and | 129 // The configuration option is supported if both a distinctive identifier and |
| 130 // persistent state are available. | 130 // persistent state are available. |
| 131 IDENTIFIER_AND_PERSISTENCE_REQUIRED, | 131 IDENTIFIER_AND_PERSISTENCE_REQUIRED, |
| 132 #if defined(OS_ANDROID) | 132 // The configuration option prevents requiring the use of secure surfaces. |
|
ddorwin
2015/05/08 03:18:31
This really (will in the next CL) affects the secu
sandersd (OOO until July 31)
2015/05/08 18:04:45
Things get murky here, because there is an implici
| |
| 133 // The configuration option is supported if no hardware-secure codecs are used | 133 // (This could mean that secure surfaces are not available at all, or just |
| 134 // (as they would be for video if secure surfaces are enabled). | 134 // that they are not guaranteed to be available together with this |
| 135 SECURE_CODECS_NOT_ALLOWED, | 135 // configuration option.) |
| 136 // The configuration option is supported if only hardware-secure codecs are | 136 SECURE_SURFACES_NOT_REQUIRABLE, |
|
ddorwin
2015/05/08 03:18:31
Why "REQUIRABLE" instead of "ALLOWED"?
sandersd (OOO until July 31)
2015/05/08 18:04:45
The actual use of secure surfaces is independent o
| |
| 137 // used. This implies that secure surfaces (hole-punching) are required for | 137 // The configuration option is supported if secure surfaces are used. |
| 138 // video. | 138 SECURE_SURFACES_REQUIRED, |
| 139 SECURE_CODECS_REQUIRED, | |
| 140 #endif // defined(OS_ANDROID) | |
| 141 // The configuration option is supported without conditions. | 139 // The configuration option is supported without conditions. |
| 142 SUPPORTED, | 140 SUPPORTED, |
| 143 }; | 141 }; |
| 144 | 142 |
| 145 } // namespace media | 143 } // namespace media |
| 146 | 144 |
| 147 #endif // MEDIA_BASE_EME_CONSTANTS_H_ | 145 #endif // MEDIA_BASE_EME_CONSTANTS_H_ |
| OLD | NEW |