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

Unified Diff: content/renderer/media/cdm_session_adapter.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/cdm_session_adapter.h
diff --git a/content/renderer/media/cdm_session_adapter.h b/content/renderer/media/cdm_session_adapter.h
index 611f25b5038cb12c99d83a1ddf4399e81fb9b429..d19ddcd60d95d1ae0d113b15ba984248b2846cb9 100644
--- a/content/renderer/media/cdm_session_adapter.h
+++ b/content/renderer/media/cdm_session_adapter.h
@@ -65,6 +65,10 @@ class CdmSessionAdapter : public base::RefCounted<CdmSessionAdapter> {
// after WebContentDecryptionModule is freed. http://crbug.com/330324
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 any of the Blink code (here and WCDM_impl
ddorwin 2014/03/11 18:05:14 As discussed, this is only for being able to tell
xhwang 2014/03/12 01:07:52 Done.
+ // CDM ID is associated.
+ int GetCdmId();
+
private:
friend class base::RefCounted<CdmSessionAdapter>;
typedef std::map<uint32, WebContentDecryptionModuleSessionImpl*> SessionMap;

Powered by Google App Engine
This is Rietveld 408576698