Index: content/renderer/media/crypto/key_systems_unittest.cc |
diff --git a/content/renderer/media/crypto/key_systems_unittest.cc b/content/renderer/media/crypto/key_systems_unittest.cc |
index e52d361322a0c5e8f8664264b17b58bb7193a503..e1be9735ed44e29547fa17680b131b0a9dfb77af 100644 |
--- a/content/renderer/media/crypto/key_systems_unittest.cc |
+++ b/content/renderer/media/crypto/key_systems_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <vector> |
#include "content/public/common/content_client.h" |
+#include "content/public/common/eme_constants.h" |
#include "content/public/renderer/content_renderer_client.h" |
#include "content/public/renderer/key_system_info.h" |
#include "content/renderer/media/crypto/key_systems.h" |
@@ -100,12 +101,14 @@ void TestContentRendererClient::AddKeySystems( |
KeySystemInfo aes(kUsesAes); |
aes.supported_codecs = EME_CODEC_WEBM_ALL; |
aes.supported_codecs |= TEST_CODEC_FOO_ALL; |
+ aes.supported_init_data_types = EME_INIT_DATA_TYPE_ALL; |
aes.use_aes_decryptor = true; |
key_systems->push_back(aes); |
KeySystemInfo ext(kExternal); |
ext.supported_codecs = EME_CODEC_WEBM_ALL; |
ext.supported_codecs |= TEST_CODEC_FOO_ALL; |
+ ext.supported_init_data_types = EME_INIT_DATA_TYPE_ALL; |
ddorwin
2014/09/23 22:48:17
TODO: Add tests for IDT.
The reason I say we can
sandersd (OOO until July 31)
2014/09/24 22:22:34
Done.
|
ext.parent_key_system = kExternalParent; |
#if defined(ENABLE_PEPPER_CDMS) |
ext.pepper_type = "application/x-ppapi-external-cdm"; |