Index: content/renderer/media/webcontentdecryptionmodule_impl.h |
diff --git a/content/renderer/media/webcontentdecryptionmodule_impl.h b/content/renderer/media/webcontentdecryptionmodule_impl.h |
index d799664bf632065937207e780f4d0dbc55c74182..a8b0fc7edf4597eca11832397e89ba259096ac6d 100644 |
--- a/content/renderer/media/webcontentdecryptionmodule_impl.h |
+++ b/content/renderer/media/webcontentdecryptionmodule_impl.h |
@@ -47,6 +47,12 @@ class WebContentDecryptionModuleImpl |
// after WebContentDecryptionModule is freed. http://crbug.com/330324 |
media::Decryptor* GetDecryptor(); |
+#if defined(OS_ANDROID) |
+ // Returns the CDM ID associated with this object. May be kInvalidCdmId if no |
+ // CDM ID is associated. |
+ int GetCdmId() const; |
+#endif // defined(OS_ANDROID) |
+ |
// blink::WebContentDecryptionModule implementation. |
virtual blink::WebContentDecryptionModuleSession* createSession( |
blink::WebContentDecryptionModuleSession::Client* client); |