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

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

Issue 1023863002: Create an interface for KeySystems, migrate WebEncryptedMediaClientImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@robustness
Patch Set: Rebase. Created 5 years, 9 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 | « no previous file | media/base/key_systems.h » ('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 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 EME_FEATURE_OPTIONAL, 83 EME_FEATURE_OPTIONAL,
84 EME_FEATURE_REQUIRED, 84 EME_FEATURE_REQUIRED,
85 }; 85 };
86 86
87 enum class EmeMediaType { 87 enum class EmeMediaType {
88 AUDIO, 88 AUDIO,
89 VIDEO, 89 VIDEO,
90 }; 90 };
91 91
92 // Robustness values understood by KeySystems. 92 // Robustness values understood by KeySystems.
93 // Note: KeySystems expects this ordering (in GetRobustnessConfigRule()), 93 // Note: key_systems.cc expects this ordering in GetRobustnessConfigRule(),
94 // changes may be required there if this list changes. 94 // make sure to correct that code if this list changes.
95 enum class EmeRobustness { 95 enum class EmeRobustness {
96 INVALID, 96 INVALID,
97 EMPTY, 97 EMPTY,
98 SW_SECURE_CRYPTO, 98 SW_SECURE_CRYPTO,
99 SW_SECURE_DECODE, 99 SW_SECURE_DECODE,
100 HW_SECURE_CRYPTO, 100 HW_SECURE_CRYPTO,
101 HW_SECURE_DECODE, 101 HW_SECURE_DECODE,
102 HW_SECURE_ALL, 102 HW_SECURE_ALL,
103 }; 103 };
104 104
(...skipping 15 matching lines...) Expand all
120 // The configuration option is supported, but the user experience may be 120 // The configuration option is supported, but the user experience may be
121 // improved if a distinctive identifier is available. 121 // improved if a distinctive identifier is available.
122 IDENTIFIER_RECOMMENDED, 122 IDENTIFIER_RECOMMENDED,
123 // The configuration option is supported without conditions. 123 // The configuration option is supported without conditions.
124 SUPPORTED, 124 SUPPORTED,
125 }; 125 };
126 126
127 } // namespace media 127 } // namespace media
128 128
129 #endif // MEDIA_BASE_EME_CONSTANTS_H_ 129 #endif // MEDIA_BASE_EME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/key_systems.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698