Chromium Code Reviews| 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; |