Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / cdm / renderer / widevine_key_systems.h
blobab1966f03a86218abea1d5f3572bc395da411a7b
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 "content/public/renderer/key_system_info.h"
12 namespace cdm {
14 enum WidevineCdmType {
15 WIDEVINE,
16 #if defined(OS_ANDROID)
17 WIDEVINE_HR_NON_COMPOSITING,
18 #endif // defined(OS_ANDROID)
21 void AddWidevineWithCodecs(
22 WidevineCdmType widevine_cdm_type,
23 content::SupportedCodecs supported_codecs,
24 std::vector<content::KeySystemInfo>* concrete_key_systems);
26 } // namespace cdm
28 #endif // COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_