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

Unified Diff: media/base/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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/key_system_info.cc ('k') | media/base/key_systems.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/key_systems.h
diff --git a/media/base/key_systems.h b/media/base/key_systems.h
index 064e2cf02c3bc78dec9b5be27c85260d0af84f63..ade5d65ca6bf3c3485dad4c7eaf94f90388837b3 100644
--- a/media/base/key_systems.h
+++ b/media/base/key_systems.h
@@ -34,10 +34,9 @@ class MEDIA_EXPORT KeySystems {
const std::string& key_system,
EmeInitDataType init_data_type) const = 0;
- // Returns whether the list of codecs are supported together by |key_system|.
- // TODO(sandersd): Return a rule instead of a bool so that codec selection can
- // affect other configuration options (namely robustness).
- virtual bool IsSupportedCodecCombination(
+ // Returns the configuration rule for supporting a container and list of
+ // codecs.
+ virtual EmeConfigRule GetContentTypeConfigRule(
const std::string& key_system,
EmeMediaType media_type,
const std::string& container_mime_type,
« no previous file with comments | « media/base/key_system_info.cc ('k') | media/base/key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698