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

Unified Diff: content/renderer/media/crypto/proxy_media_keys.cc

Issue 748473002: Introduce CdmContext interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@set_cdm
Patch Set: Created 6 years, 1 month 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: content/renderer/media/crypto/proxy_media_keys.cc
diff --git a/content/renderer/media/crypto/proxy_media_keys.cc b/content/renderer/media/crypto/proxy_media_keys.cc
index 28af509ed2414385ec1b4b573d68398918bd7f24..3a0319d551c1c3e07cf4526df1797ab43192b694 100644
--- a/content/renderer/media/crypto/proxy_media_keys.cc
+++ b/content/renderer/media/crypto/proxy_media_keys.cc
@@ -142,6 +142,14 @@ void ProxyMediaKeys::GetUsableKeyIds(const std::string& web_session_id,
promise->reject(NOT_SUPPORTED_ERROR, 0, "Not yet implemented.");
}
+media::CdmContext* ProxyMediaKeys::GetCdmContext() {
+ return this;
+}
+
+media::Decryptor* ProxyMediaKeys::GetDecryptor() {
+ return NULL;
+}
+
int ProxyMediaKeys::GetCdmId() const {
return cdm_id_;
}

Powered by Google App Engine
This is Rietveld 408576698