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

Unified Diff: chromecast/media/base/key_systems_common.cc

Issue 605923002: Chromecast: guard PlayReady with C-define to prevent accidental use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « chromecast/media/base/key_systems_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/key_systems_common.cc
diff --git a/chromecast/media/base/key_systems_common.cc b/chromecast/media/base/key_systems_common.cc
index 89257192dbc3d48139ffc008ba0607d60a9a4648..568aaa8a3e1e6e7d2fda92cd73e26d0d02624278 100644
--- a/chromecast/media/base/key_systems_common.cc
+++ b/chromecast/media/base/key_systems_common.cc
@@ -13,7 +13,9 @@
namespace chromecast {
namespace media {
+#if defined(PLAYREADY_CDM_AVAILABLE)
const char kChromecastPlayreadyKeySystem[] = "com.chromecast.playready";
+#endif // defined(PLAYREADY_CDM_AVAILABLE)
CastKeySystem GetKeySystemByName(const std::string& key_system_name) {
#if defined(WIDEVINE_CDM_AVAILABLE)
« no previous file with comments | « chromecast/media/base/key_systems_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698