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..ea19d9e40b3b43d7a4eb963b69a929f236b98f24 100644 |
--- a/content/renderer/media/crypto/proxy_decryptor.h |
+++ b/content/renderer/media/crypto/proxy_decryptor.h |
@@ -59,7 +59,6 @@ class ProxyDecryptor { |
const CreatePepperCdmCB& create_pepper_cdm_cb, |
#elif defined(OS_ANDROID) |
RendererMediaPlayerManager* manager, |
- int cdm_id, |
#endif // defined(ENABLE_PEPPER_CDMS) |
const KeyAddedCB& key_added_cb, |
const KeyErrorCB& key_error_cb, |
@@ -70,6 +69,10 @@ class ProxyDecryptor { |
// Decryptor is associated. |
media::Decryptor* GetDecryptor(); |
+ // Returns the CDM ID associated with this object. May be kInvalidCdmId if no |
+ // CDM ID is associated. |
+ int GetCdmId(); |
+ |
// Only call this once. |
bool InitializeCDM(const std::string& key_system, const GURL& frame_url); |