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

Unified Diff: media/base/key_system_info.h

Issue 923283002: Implement checks for distinctiveIdentifier and persistentState in requestMediaKeySystemAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile. Created 5 years, 10 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/key_system_info.h
diff --git a/media/base/key_system_info.h b/media/base/key_system_info.h
index e259c00d855c755b397784e6662e8e88800dc7e6..e66d8be83880481883ac909419d972c618546ba5 100644
--- a/media/base/key_system_info.h
+++ b/media/base/key_system_info.h
@@ -30,7 +30,7 @@ namespace media {
// Contains information about an EME key system as well as how to instantiate
// the corresponding CDM.
struct MEDIA_EXPORT KeySystemInfo {
- explicit KeySystemInfo(const std::string& key_system);
+ KeySystemInfo();
~KeySystemInfo();
std::string key_system;
@@ -41,6 +41,12 @@ struct MEDIA_EXPORT KeySystemInfo {
// Specifies codecs supported by |key_system|.
SupportedCodecs supported_codecs;
+ // Specifies session types and features supported by |key_system|.
+ EmeSessionTypeSupport persistent_license_support;
+ EmeSessionTypeSupport persistent_release_message_support;
+ EmeFeatureSupport persistent_state_support;
+ EmeFeatureSupport distinctive_identifier_support;
+
// A hierarchical parent for |key_system|. This value can be used to check
// supported types but cannot be used to instantiate a MediaKeys object.
// Only one parent key system is currently supported per concrete key system.

Powered by Google App Engine
This is Rietveld 408576698