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

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

Issue 320383005: Add an IPC to return the platform supported key-system names in Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed xhwang's comments. Created 6 years, 6 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 "content/public/renderer/key_system_info.h" 10 #include "content/public/renderer/key_system_info.h"
11 11
12 namespace cdm { 12 namespace cdm {
13 13
14 enum WidevineCdmType { 14 enum WidevineCdmType {
15 WIDEVINE, 15 WIDEVINE,
16 #if defined(OS_ANDROID) 16 #if defined(OS_ANDROID)
17 WIDEVINE_HR_NON_COMPOSITING, 17 WIDEVINE_HR_NON_COMPOSITING,
18 #endif // defined(OS_ANDROID) 18 #endif // defined(OS_ANDROID)
19 }; 19 };
20 20
21 void AddWidevineWithCodecs( 21 void AddWidevineWithCodecs(
22 WidevineCdmType widevine_cdm_type, 22 WidevineCdmType widevine_cdm_type,
23 content::SupportedCodecs supported_codecs, 23 content::SupportedCodecs supported_codecs,
24 std::vector<content::KeySystemInfo>* concrete_key_systems); 24 std::vector<content::KeySystemInfo>* concrete_key_systems);
25 25
26 #if defined(OS_ANDROID)
27 void AddAndroidWidevine(
28 std::vector<content::KeySystemInfo>* concrete_key_systems);
29 #endif // defined(OS_ANDROID)
30
31 } // namespace cdm 26 } // namespace cdm
32 27
33 #endif // COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEMS_H_ 28 #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