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

Unified Diff: media/base/key_system_info.cc

Issue 923283002: Implement checks for distinctiveIdentifier and persistentState in requestMediaKeySystemAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove Blink dependency again. 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
« no previous file with comments | « media/base/key_system_info.h ('k') | media/base/key_systems.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/key_system_info.cc
diff --git a/media/base/key_system_info.cc b/media/base/key_system_info.cc
index f4369124cf157c089ddd6272467eb6762311a747..b656f0f002b361aaae55b8feaf9639ffec51a669 100644
--- a/media/base/key_system_info.cc
+++ b/media/base/key_system_info.cc
@@ -6,10 +6,13 @@
namespace media {
-KeySystemInfo::KeySystemInfo(const std::string& key_system)
- : key_system(key_system),
- supported_init_data_types(EME_INIT_DATA_TYPE_NONE),
+KeySystemInfo::KeySystemInfo()
+ : supported_init_data_types(EME_INIT_DATA_TYPE_NONE),
supported_codecs(EME_CODEC_NONE),
+ persistent_license_support(EME_SESSION_TYPE_INVALID),
+ persistent_release_message_support(EME_SESSION_TYPE_INVALID),
+ persistent_state_support(EME_FEATURE_INVALID),
+ distinctive_identifier_support(EME_FEATURE_INVALID),
use_aes_decryptor(false) {
}
« no previous file with comments | « media/base/key_system_info.h ('k') | media/base/key_systems.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698