OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MEDIA_BASE_CDM_CONFIG_H_ | |
6 #define MEDIA_BASE_CDM_CONFIG_H_ | |
7 | |
8 #include "media/base/media_export.h" | |
9 | |
10 namespace media { | |
11 | |
12 // The runtime configuration of a CDM as computed by | |
ddorwin
2015/05/13 06:03:21
...configuration for new CDM instances...
I was g
| |
13 // |requestMediaKeySystemAccess|. This is in some sense the Chromium-side | |
14 // counterpart of Blink's WebMediaKeySystemConfiguration. | |
15 struct MEDIA_EXPORT CdmConfig { | |
16 // Access to a distinctive identifier was requested or required, and the | |
ddorwin
2015/05/13 06:03:21
This seems like impl details of the caller. Should
sandersd (OOO until July 31)
2015/05/14 00:06:57
Done.
| |
17 // permission was granted. | |
18 bool allow_distinctive_identifier = false; | |
19 | |
20 // Access to persistent state was requested or required, and is supported by | |
21 // the session. | |
ddorwin
2015/05/13 06:03:21
session?
sandersd (OOO until July 31)
2015/05/14 00:06:57
Done.
| |
22 bool allow_persistent_state = false; | |
23 | |
24 // The configuration requires the use of secure codecs. This flag is only used | |
25 // on Android, it should always be false on other platforms. | |
ddorwin
2015/05/13 06:03:21
We could ifdef it.
sandersd (OOO until July 31)
2015/05/14 00:06:57
We could, but then KeySystemConfigChooser needs to
| |
26 bool use_secure_codecs = false; | |
ddorwin
2015/05/13 06:03:21
ditto on hardware_/hw_. At least include this in t
sandersd (OOO until July 31)
2015/05/14 00:06:57
Done.
| |
27 }; | |
28 | |
29 } // namespace media | |
30 | |
31 #endif // MEDIA_BASE_CDM_CONFIG_H_ | |
OLD | NEW |