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

Side by Side Diff: components/cdm/renderer/widevine_key_systems.h

Issue 1737213002: EME: Remove WidevineCdmType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parent
Patch Set: Fix Cast build. Created 4 years, 10 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 COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ 5 #ifndef COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
6 #define COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ 6 #define COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "media/base/key_system_info.h" 11 #include "media/base/key_system_info.h"
12 12
13 namespace cdm { 13 namespace cdm {
14 14
15 enum WidevineCdmType {
16 WIDEVINE,
17 #if defined(OS_ANDROID)
18 WIDEVINE_HR_NON_COMPOSITING,
19 #endif // defined(OS_ANDROID)
20 };
21
22 void AddWidevineWithCodecs( 15 void AddWidevineWithCodecs(
23 WidevineCdmType widevine_cdm_type,
24 media::SupportedCodecs supported_codecs, 16 media::SupportedCodecs supported_codecs,
25 #if defined(OS_ANDROID) 17 #if defined(OS_ANDROID)
26 media::SupportedCodecs supported_secure_codecs, 18 media::SupportedCodecs supported_secure_codecs,
27 #endif // defined(OS_ANDROID) 19 #endif // defined(OS_ANDROID)
28 media::EmeRobustness max_audio_robustness, 20 media::EmeRobustness max_audio_robustness,
29 media::EmeRobustness max_video_robustness, 21 media::EmeRobustness max_video_robustness,
30 media::EmeSessionTypeSupport persistent_license_support, 22 media::EmeSessionTypeSupport persistent_license_support,
31 media::EmeSessionTypeSupport persistent_release_message_support, 23 media::EmeSessionTypeSupport persistent_release_message_support,
32 media::EmeFeatureSupport persistent_state_support, 24 media::EmeFeatureSupport persistent_state_support,
33 media::EmeFeatureSupport distinctive_identifier_support, 25 media::EmeFeatureSupport distinctive_identifier_support,
34 std::vector<media::KeySystemInfo>* concrete_key_systems); 26 std::vector<media::KeySystemInfo>* concrete_key_systems);
35 27
36 } // namespace cdm 28 } // namespace cdm
37 29
38 #endif // COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ 30 #endif // COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
OLDNEW
« no previous file with comments | « components/cdm/renderer/android_key_systems.cc ('k') | components/cdm/renderer/widevine_key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698