Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / cdm / renderer / widevine_key_systems.h
blob125e297b18c39b3ac12416ce66efb0810583ae1e
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
6 #define COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
8 #include <vector>
10 #include "build/build_config.h"
11 #include "media/base/key_system_info.h"
13 namespace cdm {
15 enum WidevineCdmType {
16 WIDEVINE,
17 #if defined(OS_ANDROID)
18 WIDEVINE_HR_NON_COMPOSITING,
19 #endif // defined(OS_ANDROID)
22 void AddWidevineWithCodecs(
23 WidevineCdmType widevine_cdm_type,
24 media::SupportedCodecs supported_codecs,
25 #if defined(OS_ANDROID)
26 media::SupportedCodecs supported_secure_codecs,
27 #endif // defined(OS_ANDROID)
28 media::EmeRobustness max_audio_robustness,
29 media::EmeRobustness max_video_robustness,
30 media::EmeSessionTypeSupport persistent_license_support,
31 media::EmeSessionTypeSupport persistent_release_message_support,
32 media::EmeFeatureSupport persistent_state_support,
33 media::EmeFeatureSupport distinctive_identifier_support,
34 std::vector<media::KeySystemInfo>* concrete_key_systems);
36 } // namespace cdm
38 #endif // COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_