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) | |
ddorwin
2015/05/01 20:39:11
I think this comment block is confusing and possib
sandersd (OOO until July 31)
2015/05/01 21:57:01
Acknowledged.
| |
133 // The configuration option is supported if hardware-secure video codecs are | |
ddorwin
2015/05/01 20:39:11
remove "video"
sandersd (OOO until July 31)
2015/05/01 21:57:01
Done.
| |
134 // not used. | |
135 SECURE_CODECS_NOT_ALLOWED, | |
136 // The configuration option is supported if only hardware-secure video codecs | |
ddorwin
2015/05/01 20:39:11
remove "video"
sandersd (OOO until July 31)
2015/05/01 21:57:01
Done.
| |
137 // are used. In this mode only secure surfaces (hole-punching) will be | |
138 // functional. | |
ddorwin
2015/05/01 20:39:11
...for video.
(or something like that)
sandersd (OOO until July 31)
2015/05/01 21:57:01
Done.
| |
139 SECURE_CODECS_REQUIRED, | |
140 #endif // defined(OS_ANDROID) | |
132 // The configuration option is supported without conditions. | 141 // The configuration option is supported without conditions. |
133 SUPPORTED, | 142 SUPPORTED, |
134 }; | 143 }; |
135 | 144 |
136 } // namespace media | 145 } // namespace media |
137 | 146 |
138 #endif // MEDIA_BASE_EME_CONSTANTS_H_ | 147 #endif // MEDIA_BASE_EME_CONSTANTS_H_ |
OLD | NEW |