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

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, 11 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 04d7801cd4ff42ed5b6fc4b400e5c8c5eb7b5945..094d302ca04c988fa6fa64bd5ac6cfc56ad95263 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::initializeNewSession(const String& mimeType, const Uint8Array& initData)
{
- m_session->generateKeyRequest(mimeType, initData.data(), initData.length());
+ m_session->initializeNewSession(mimeType, initData.data(), initData.length());
}
void ContentDecryptionModuleSession::update(const Uint8Array& response)
@@ -65,9 +65,9 @@ void ContentDecryptionModuleSession::update(const Uint8Array& response)
m_session->update(response.data(), response.length());
}
-void ContentDecryptionModuleSession::close()
+void ContentDecryptionModuleSession::release()
{
- m_session->close();
+ m_session->release();
}
void ContentDecryptionModuleSession::keyAdded()
« no previous file with comments | « Source/platform/drm/ContentDecryptionModuleSession.h ('k') | public/platform/WebContentDecryptionModuleSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698