Index: media/mojo/interfaces/content_decryption_module_factory.mojom |
diff --git a/media/mojo/interfaces/content_decryption_module_factory.mojom b/media/mojo/interfaces/content_decryption_module_factory.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c84f6943c9a116843a234f19ba1379a0eabd857 |
--- /dev/null |
+++ b/media/mojo/interfaces/content_decryption_module_factory.mojom |
@@ -0,0 +1,15 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module mojo; |
+ |
+import "media/mojo/interfaces/content_decryption_module.mojom"; |
+ |
+// An interface to request a ContentDecryptionModule service. |
ddorwin
2015/01/06 00:57:28
Should this file have more detailed comments, such
xhwang
2015/01/06 19:54:54
Done.
|
+interface ContentDecryptionModuleFactory { |
+ Create(string key_system, |
+ string security_origin, |
+ int32 cdm_id, |
ddorwin
2015/01/06 00:57:28
Can we have the factory generate an ID in the CDM
xhwang
2015/01/06 19:54:54
I looked at this more closely and IIUIC we can't g
ddorwin
2015/01/07 00:37:13
So |cdm| is a special output parameter? That seems
jamesr
2015/01/07 02:22:06
Uhh, I don't really understand. All mojo calls ar
|
+ ContentDecryptionModule&? cdm); |
+}; |