Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / cdm / renderer / widevine_key_systems.h
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.
4
5 #ifndef COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
6 #define COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_
7
8 #include <vector>
9
10 #include "build/build_config.h"
11 #include "media/base/key_system_info.h"
12
13 namespace cdm {
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(
23     WidevineCdmType widevine_cdm_type,
24     media::SupportedCodecs supported_codecs,
25     std::vector<media::KeySystemInfo>* concrete_key_systems);
26
27 }  // namespace cdm
28
29 #endif  // COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_