Chromium Code Reviews| Index: media/mojo/interfaces/decryptor.mojom |
| diff --git a/media/mojo/interfaces/decryptor.mojom b/media/mojo/interfaces/decryptor.mojom |
| index dad3d6838f80f85960ea56bc65ab3ce3436fe001..6fe3347a265ccb891b58130eb8ab3dd3a4781da2 100644 |
| --- a/media/mojo/interfaces/decryptor.mojom |
| +++ b/media/mojo/interfaces/decryptor.mojom |
| @@ -19,6 +19,11 @@ interface Decryptor { |
| ERROR // Key is available but an error occurred during decryption. |
| }; |
| + // Pass the two data pipes used to transfer DecoderBuffer contents to and |
| + // from the Decryptor. |
|
xhwang
2015/12/19 18:16:30
Must be called before all other methods?
jrummell
2015/12/21 23:20:54
Done.
|
| + Initialize(handle<data_pipe_consumer> receive_pipe, |
| + handle<data_pipe_producer> transmit_pipe); |
|
xhwang
2015/12/19 18:16:30
Since this is an interface, provide more details a
jrummell
2015/12/21 23:20:54
Done.
|
| + |
| // Decrypts the |encrypted| buffer and returns the decrypt |status| and |
| // decrypted |buffer|. |
| // At most one decrypt call is allowed at any time for a |stream_type|. |