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

Side by Side Diff: media/base/cdm_config.h

Issue 1131753003: Plumb |use_secure_codecs| through to BrowserCdmFactoryAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698