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

Unified Diff: chromecast/renderer/key_systems_cast.cc

Issue 2043763002: [Chromecast] Buildfix in Android PR codepath (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/renderer/key_systems_cast.cc
diff --git a/chromecast/renderer/key_systems_cast.cc b/chromecast/renderer/key_systems_cast.cc
index e9d92402edba6868ba7cdc221d874f902f518b74..952309fccb4c7100652e21487a96b8ab44558080 100644
--- a/chromecast/renderer/key_systems_cast.cc
+++ b/chromecast/renderer/key_systems_cast.cc
@@ -54,12 +54,8 @@ class PlayReadyKeySystemProperties : public ::media::KeySystemProperties {
}
EmeSessionTypeSupport GetPersistentLicenseSessionSupport() const override {
-#if defined(OS_ANDROID)
- return EmeSessionTypeSupport::NOT_SUPPORTED;
-#else
return persistent_license_support_ ? EmeSessionTypeSupport::SUPPORTED
: EmeSessionTypeSupport::NOT_SUPPORTED;
-#endif
}
EmeSessionTypeSupport GetPersistentReleaseMessageSessionSupport()
@@ -86,6 +82,9 @@ void AddChromecastKeySystems(
key_systems_properties,
bool enable_persistent_license_support) {
#if defined(PLAYREADY_CDM_AVAILABLE)
+#if defined(OS_ANDROID)
+ CHECK(!enable_persistent_license_support);
+#endif
key_systems_properties->emplace_back(
new PlayReadyKeySystemProperties(enable_persistent_license_support));
#endif // defined(PLAYREADY_CDM_AVAILABLE)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698