Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1801)

Unified Diff: media/mojo/interfaces/content_decryption_module_factory.mojom

Issue 840473002: media: Support creation and SetCdm() for mojo based CDM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+};

Powered by Google App Engine
This is Rietveld 408576698