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

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

Issue 111043004: Update MediaKeySession method names to latest EME spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 12 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/ContentDecryptionModuleSession.cpp
diff --git a/Source/platform/drm/ContentDecryptionModuleSession.cpp b/Source/platform/drm/ContentDecryptionModuleSession.cpp
index 0882ffb429093f746f83f10079b9b79db0e6ed11..cf0df9e451c6cc70948f8ec5172adefd8b7e2f39 100644
--- a/Source/platform/drm/ContentDecryptionModuleSession.cpp
+++ b/Source/platform/drm/ContentDecryptionModuleSession.cpp
@@ -55,9 +55,9 @@ String ContentDecryptionModuleSession::sessionId() const
return m_session->sessionId();
}
-void ContentDecryptionModuleSession::generateKeyRequest(const String& mimeType, const Uint8Array& initData)
+void ContentDecryptionModuleSession::initialize(const String& mimeType, const Uint8Array& initData)
{
- m_session->generateKeyRequest(mimeType, initData.data(), initData.length());
+ m_session->initialize(mimeType, initData.data(), initData.length());
}
void ContentDecryptionModuleSession::update(const Uint8Array& key)
@@ -65,9 +65,9 @@ void ContentDecryptionModuleSession::update(const Uint8Array& key)
m_session->update(key.data(), key.length());
}
-void ContentDecryptionModuleSession::close()
+void ContentDecryptionModuleSession::release()
{
- m_session->close();
+ m_session->release();
}
void ContentDecryptionModuleSession::keyAdded()

Powered by Google App Engine
This is Rietveld 408576698