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 14535e0d8ca775989d8c1bcbcded30b14dec9def..c07af0ac560dee45cd03ec0b79bd79e4f7c625e7 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,12 @@ class ProxyDecryptor { |
// Decryptor is associated. |
media::Decryptor* GetDecryptor(); |
+#if defined(OS_ANDROID) |
+ // Returns the CDM ID associated with this object. May be kInvalidCdmId if no |
+ // CDM ID is associated, such as when Clear Key is used. |
+ int GetCdmId(); |
+#endif |
+ |
// Only call this once. |
bool InitializeCDM(const std::string& key_system, const GURL& frame_url); |