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

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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 EME_FEATURE_OPTIONAL, 82 EME_FEATURE_OPTIONAL,
83 EME_FEATURE_REQUIRED, 83 EME_FEATURE_REQUIRED,
84 }; 84 };
85 85
86 enum class EmeMediaType { 86 enum class EmeMediaType {
87 AUDIO, 87 AUDIO,
88 VIDEO, 88 VIDEO,
89 }; 89 };
90 90
91 // Robustness values understood by KeySystems. 91 // Robustness values understood by KeySystems.
92 // Note: KeySystems expects this ordering (in GetRobustnessConfigRule()), 92 // Note: key_systems.cc expects this ordering in GetRobustnessConfigRule(),
93 // changes may be required there if this list changes. 93 // make sure to correct that code if this list changes.
94 enum class EmeRobustness { 94 enum class EmeRobustness {
95 INVALID, 95 INVALID,
96 EMPTY, 96 EMPTY,
97 SW_SECURE_CRYPTO, 97 SW_SECURE_CRYPTO,
98 SW_SECURE_DECODE, 98 SW_SECURE_DECODE,
99 HW_SECURE_CRYPTO, 99 HW_SECURE_CRYPTO,
100 HW_SECURE_DECODE, 100 HW_SECURE_DECODE,
101 HW_SECURE_ALL, 101 HW_SECURE_ALL,
102 }; 102 };
103 103
(...skipping 15 matching lines...) Expand all
119 // The configuration option is supported, but the user experience may be 119 // The configuration option is supported, but the user experience may be
120 // improved if a distinctive identifier is available. 120 // improved if a distinctive identifier is available.
121 IDENTIFIER_RECOMMENDED, 121 IDENTIFIER_RECOMMENDED,
122 // The configuration option is supported without conditions. 122 // The configuration option is supported without conditions.
123 SUPPORTED, 123 SUPPORTED,
124 }; 124 };
125 125
126 } // namespace media 126 } // namespace media
127 127
128 #endif // MEDIA_BASE_EME_CONSTANTS_H_ 128 #endif // MEDIA_BASE_EME_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698