Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module mojo; | |
| 6 | |
| 7 import "media/mojo/interfaces/content_decryption_module.mojom"; | |
| 8 | |
| 9 // An interface to request a ContentDecryptionModule service for |key_system| | |
| 10 // and |security_origin|. The |cdm| can be null if the requested service is not | |
|
ddorwin
2015/01/07 00:37:14
The *returned* ...
ddorwin
2015/01/07 00:37:14
nit: s/and/for use in/
| |
| 11 // supported (e.g. unsupported key system). | |
| 12 // |cdm_id| is a client generated ID that will be used by other services to get | |
| 13 // access to the CDM. See SetCdm() method in the MediaRenderer interface for | |
| 14 // details. | |
| 15 interface ContentDecryptionModuleFactory { | |
| 16 Create(string key_system, | |
| 17 string security_origin, | |
| 18 int32 cdm_id, | |
| 19 ContentDecryptionModule&? cdm); | |
| 20 }; | |
| OLD | NEW |