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

Unified Diff: Source/platform/drm/ContentDecryptionModule.cpp

Issue 183943003: Verify MediaKeys parameter values consistently (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/platform/drm/ContentDecryptionModule.cpp
diff --git a/Source/platform/drm/ContentDecryptionModule.cpp b/Source/platform/drm/ContentDecryptionModule.cpp
index b27a50cb6fdbc63aea63f17b74818fdaef08567c..8effdfc56a4289b9882ecb1228c68c9e5b69e984 100644
--- a/Source/platform/drm/ContentDecryptionModule.cpp
+++ b/Source/platform/drm/ContentDecryptionModule.cpp
@@ -37,14 +37,6 @@
namespace WebCore {
-bool ContentDecryptionModule::supportsKeySystem(const String& keySystem)
-{
- // FIXME: Chromium should handle this, possibly using
- // MIMETypeRegistry::isSupportedEncryptedMediaMIMEType().
- notImplemented();
- return keySystem == "org.w3.clearkey";
-}
-
PassOwnPtr<ContentDecryptionModule> ContentDecryptionModule::create(const String& keySystem)
{
ASSERT(!keySystem.isEmpty());
@@ -64,14 +56,6 @@ ContentDecryptionModule::~ContentDecryptionModule()
{
}
-bool ContentDecryptionModule::supportsMIMEType(const String& mimeType)
-{
- // FIXME: Chromium should handle this, possibly using
- // MIMETypeRegistry::isSupportedEncryptedMediaMIMEType().
- notImplemented();
- return mimeType == "video/webm";
-}
-
PassOwnPtr<ContentDecryptionModuleSession> ContentDecryptionModule::createSession(ContentDecryptionModuleSessionClient* client)
{
return adoptPtr(new ContentDecryptionModuleSession(m_cdm.get(), client));
« Source/modules/encryptedmedia/MediaKeys.cpp ('K') | « Source/platform/drm/ContentDecryptionModule.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698