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

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

Issue 1133423003: Work around a clang/win bug, add a .h file to gyp/gn files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: buildfiles 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
« no previous file with comments | « media/base/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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_CDM_CONFIG_H_ 5 #ifndef MEDIA_BASE_CDM_CONFIG_H_
6 #define MEDIA_BASE_CDM_CONFIG_H_ 6 #define MEDIA_BASE_CDM_CONFIG_H_
7 7
8 #include "media/base/media_export.h" 8 #include "media/base/media_export.h"
9 9
10 namespace media { 10 namespace media {
11 11
12 // The runtime configuration for new CDM instances as computed by 12 // The runtime configuration for new CDM instances as computed by
13 // |requestMediaKeySystemAccess|. This is in some sense the Chromium-side 13 // |requestMediaKeySystemAccess|. This is in some sense the Chromium-side
14 // counterpart of Blink's WebMediaKeySystemConfiguration. 14 // counterpart of Blink's WebMediaKeySystemConfiguration.
15 struct MEDIA_EXPORT CdmConfig { 15 struct CdmConfig {
16 // Allow access to a distinctive identifier. 16 // Allow access to a distinctive identifier.
17 bool allow_distinctive_identifier = false; 17 bool allow_distinctive_identifier = false;
18 18
19 // Allow access to persistent state. 19 // Allow access to persistent state.
20 bool allow_persistent_state = false; 20 bool allow_persistent_state = false;
21 21
22 // Use hardware-secure codecs. This flag is only used on Android, it should 22 // Use hardware-secure codecs. This flag is only used on Android, it should
23 // always be false on other platforms. 23 // always be false on other platforms.
24 bool use_hw_secure_codecs = false; 24 bool use_hw_secure_codecs = false;
25 }; 25 };
26 26
27 } // namespace media 27 } // namespace media
28 28
29 #endif // MEDIA_BASE_CDM_CONFIG_H_ 29 #endif // MEDIA_BASE_CDM_CONFIG_H_
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698