Chromium Code Reviews

Unified Diff: Source/platform/exported/WebContentDecryptionModuleSession.cpp

Issue 686893004: Remove obsolete ready and error events from MediaKeySession. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/platform/exported/WebContentDecryptionModuleSession.cpp
diff --git a/Source/platform/exported/WebContentDecryptionModuleSession.cpp b/Source/platform/exported/WebContentDecryptionModuleSession.cpp
index 762f8c2af0d0e8b7d22c47fe798c845745cf3b80..580c114905467077ffd16dd8a546c4a6d63980a9 100644
--- a/Source/platform/exported/WebContentDecryptionModuleSession.cpp
+++ b/Source/platform/exported/WebContentDecryptionModuleSession.cpp
@@ -28,11 +28,6 @@
namespace blink {
-static void ReportError(WebContentDecryptionModuleResult result)
-{
- result.completeWithError(WebContentDecryptionModuleExceptionUnknownError, 0, "Not implemented.");
-}
-
WebContentDecryptionModuleSession::~WebContentDecryptionModuleSession()
{
}
@@ -41,36 +36,4 @@ WebContentDecryptionModuleSession::Client::~Client()
{
}
-// FIXME: Remove the default implementations of these methods once the new
-// methods are implemented in Chromium.
-void WebContentDecryptionModuleSession::initializeNewSession(const WebString& initDataType, const unsigned char* initData, size_t initDataLength, const WebString& sessionType, WebContentDecryptionModuleResult result)
-{
- ReportError(result);
-}
-
-void WebContentDecryptionModuleSession::load(const WebString& sessionId, WebContentDecryptionModuleResult result)
-{
- ReportError(result);
-}
-
-void WebContentDecryptionModuleSession::update(const unsigned char* response, size_t responseLength, WebContentDecryptionModuleResult result)
-{
- ReportError(result);
-}
-
-void WebContentDecryptionModuleSession::close(WebContentDecryptionModuleResult result)
-{
- ReportError(result);
-}
-
-void WebContentDecryptionModuleSession::remove(WebContentDecryptionModuleResult result)
-{
- ReportError(result);
-}
-
-void WebContentDecryptionModuleSession::release(WebContentDecryptionModuleResult result)
-{
- ReportError(result);
-}
-
} // namespace blink
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.idl ('k') | public/platform/WebContentDecryptionModuleSession.h » ('j') | no next file with comments »

Powered by Google App Engine