Index: content/renderer/media/webcontentdecryptionmodule_impl.h |
diff --git a/content/renderer/media/webcontentdecryptionmodule_impl.h b/content/renderer/media/webcontentdecryptionmodule_impl.h |
index 3a07a24c9b77067c2863aec4aa07671198e3111c..38df1a0d16d38b2526c565ad216648262aa57781 100644 |
--- a/content/renderer/media/webcontentdecryptionmodule_impl.h |
+++ b/content/renderer/media/webcontentdecryptionmodule_impl.h |
@@ -43,6 +43,12 @@ class WebContentDecryptionModuleImpl |
// after WebContentDecryptionModule is freed. http://crbug.com/330324 |
media::Decryptor* GetDecryptor(); |
+#if defined(OS_ANDROID) |
damienv1
2014/03/31 18:25:28
This should be guarded by a feature flag like ENAB
|
+ // 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() const; |
+#endif // defined(OS_ANDROID) |
+ |
// blink::WebContentDecryptionModule implementation. |
virtual blink::WebContentDecryptionModuleSession* createSession( |
blink::WebContentDecryptionModuleSession::Client* client); |