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

Unified Diff: media/base/eme_constants.h

Issue 1106263004: Support Android secure codecs in requestMediaKeySystemAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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
Index: media/base/eme_constants.h
diff --git a/media/base/eme_constants.h b/media/base/eme_constants.h
index 0b246709eb0ec414e4b354defdb48b0dd1f7d489..d9ef5d209024ecbfe2b9b2de9e382318feabedd3 100644
--- a/media/base/eme_constants.h
+++ b/media/base/eme_constants.h
@@ -129,6 +129,15 @@ enum class EmeConfigRule {
// The configuration option is supported if both a distinctive identifier and
// persistent state are available.
IDENTIFIER_AND_PERSISTENCE_REQUIRED,
+#if defined(OS_ANDROID)
ddorwin 2015/05/01 20:39:11 I think this comment block is confusing and possib
sandersd (OOO until July 31) 2015/05/01 21:57:01 Acknowledged.
+ // The configuration option is supported if hardware-secure video codecs are
ddorwin 2015/05/01 20:39:11 remove "video"
sandersd (OOO until July 31) 2015/05/01 21:57:01 Done.
+ // not used.
+ SECURE_CODECS_NOT_ALLOWED,
+ // The configuration option is supported if only hardware-secure video codecs
ddorwin 2015/05/01 20:39:11 remove "video"
sandersd (OOO until July 31) 2015/05/01 21:57:01 Done.
+ // are used. In this mode only secure surfaces (hole-punching) will be
+ // functional.
ddorwin 2015/05/01 20:39:11 ...for video. (or something like that)
sandersd (OOO until July 31) 2015/05/01 21:57:01 Done.
+ SECURE_CODECS_REQUIRED,
+#endif // defined(OS_ANDROID)
// The configuration option is supported without conditions.
SUPPORTED,
};

Powered by Google App Engine
This is Rietveld 408576698