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

Unified Diff: content/renderer/media/crypto/proxy_decryptor.h

Issue 193523002: Encrypted Media: Implement IPC based SetCdm(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: content/renderer/media/crypto/proxy_decryptor.h
diff --git a/content/renderer/media/crypto/proxy_decryptor.h b/content/renderer/media/crypto/proxy_decryptor.h
index 981566624055522a95e170103976719dbde9d730..ab273892ac9867f898ef3401ba787b9faa4c6637 100644
--- a/content/renderer/media/crypto/proxy_decryptor.h
+++ b/content/renderer/media/crypto/proxy_decryptor.h
@@ -70,6 +70,10 @@ class ProxyDecryptor {
// Decryptor is associated.
media::Decryptor* GetDecryptor();
+ // Returns the CDM ID associated with this object. May be kInvalidCdmId if no
ddorwin 2014/03/11 04:06:33 Why does WMPI need this?
ddorwin 2014/03/11 18:05:14 We can delete this in the new design.
xhwang 2014/03/12 01:07:52 I am still storing |cdm_id_| in ProxyDecryptor. Fo
+ // CDM ID is associated.
+ int GetCdmId();
+
// Only call this once.
bool InitializeCDM(const std::string& key_system, const GURL& frame_url);

Powered by Google App Engine
This is Rietveld 408576698