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

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

Issue 1737213002: EME: Remove WidevineCdmType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parent
Patch Set: Fix Cast build. Created 4 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 | « components/cdm/renderer/widevine_key_systems.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cdm/renderer/widevine_key_systems.cc
diff --git a/components/cdm/renderer/widevine_key_systems.cc b/components/cdm/renderer/widevine_key_systems.cc
index 821dd06b1bc458be47ce0362b3dade5400953067..5120d8bc2928cfc9dee19357c721506f2238ae1a 100644
--- a/components/cdm/renderer/widevine_key_systems.cc
+++ b/components/cdm/renderer/widevine_key_systems.cc
@@ -23,7 +23,6 @@ using media::SupportedCodecs;
namespace cdm {
void AddWidevineWithCodecs(
- WidevineCdmType widevine_cdm_type,
SupportedCodecs supported_codecs,
#if defined(OS_ANDROID)
SupportedCodecs supported_secure_codecs,
@@ -38,18 +37,6 @@ void AddWidevineWithCodecs(
KeySystemInfo info;
info.key_system = kWidevineKeySystem;
- switch (widevine_cdm_type) {
- case WIDEVINE:
- break;
-#if defined(OS_ANDROID)
- case WIDEVINE_HR_NON_COMPOSITING:
- info.key_system.append(".hrnoncompositing");
- break;
-#endif // defined(OS_ANDROID)
- default:
- NOTREACHED();
- }
-
// TODO(xhwang): A container or an initDataType may be supported even though
// there are no codecs supported in that container. Fix this when we support
// initDataType.
« no previous file with comments | « components/cdm/renderer/widevine_key_systems.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698