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

Unified Diff: components/cdm/renderer/android_key_systems.cc

Issue 923283002: Implement checks for distinctiveIdentifier and persistentState in requestMediaKeySystemAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/cdm/renderer/android_key_systems.cc
diff --git a/components/cdm/renderer/android_key_systems.cc b/components/cdm/renderer/android_key_systems.cc
index 83a0d0481df831e62aa1727d3dfaf23a08efcb4a..c8c71ee66f8c41828a4958538a0cc1012c5d51b7 100644
--- a/components/cdm/renderer/android_key_systems.cc
+++ b/components/cdm/renderer/android_key_systems.cc
@@ -75,6 +75,8 @@ void AddAndroidPlatformKeySystems(
if (response.compositing_codecs & media::EME_CODEC_MP4_ALL)
info.supported_init_data_types |= media::EME_INIT_DATA_TYPE_CENC;
#endif // defined(USE_PROPRIETARY_CODECS)
+ // Prevent creation thorugh the requestMediaKeySystemAccess() API.
jrummell 2015/02/14 01:28:35 s/thorugh/through/
ddorwin 2015/02/17 20:56:46 Until https://github.com/w3c/encrypted-media/issue
sandersd (OOO until July 31) 2015/02/18 23:41:17 Previously there was a specific check for this, bu
sandersd (OOO until July 31) 2015/02/18 23:41:17 Done.
+ info.supported_session_types = media::EME_SESSION_TYPE_NONE;
concrete_key_systems->push_back(info);
}
}

Powered by Google App Engine
This is Rietveld 408576698