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

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

Issue 1106263004: Support Android secure codecs in requestMediaKeySystemAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include build_config.h. Created 5 years, 7 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
« no previous file with comments | « chromecast/renderer/key_systems_cast.cc ('k') | components/cdm/renderer/android_key_systems.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ANDROID_KEY_SYSTEMS_H_ 5 #ifndef COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_
6 #define COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_ 6 #define COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "media/base/key_system_info.h" 10 #include "media/base/key_system_info.h"
11 11
12 namespace cdm { 12 namespace cdm {
13 13
14 void AddAndroidWidevine( 14 void AddAndroidWidevine(
15 std::vector<media::KeySystemInfo>* concrete_key_systems, 15 std::vector<media::KeySystemInfo>* concrete_key_systems);
16 // TODO(sandersd): Non-compositing support depends on the
17 // use_video_overlay_for_embedded_encrypted_video pref, which may differ per
18 // WebContents, meaning this cannot be a global setting for the renderer
19 // process. Handle this per WebContents instead. http://crbug.com/467779
20 bool is_non_compositing_supported);
21 16
22 // Add platform-supported key systems which are not explicitly handled 17 // Add platform-supported key systems which are not explicitly handled
23 // by Chrome. 18 // by Chrome.
24 void AddAndroidPlatformKeySystems( 19 void AddAndroidPlatformKeySystems(
25 std::vector<media::KeySystemInfo>* concrete_key_systems); 20 std::vector<media::KeySystemInfo>* concrete_key_systems);
26 21
27 } // namespace cdm 22 } // namespace cdm
28 23
29 #endif // COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_ 24 #endif // COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_
OLDNEW
« no previous file with comments | « chromecast/renderer/key_systems_cast.cc ('k') | components/cdm/renderer/android_key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698