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

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

Issue 1538063003: Use data pipe to pass DecoderBuffer contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | media/mojo/services/mojo_decryptor.h » ('j') | media/mojo/services/mojo_decryptor.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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|.
« no previous file with comments | « no previous file | media/mojo/services/mojo_decryptor.h » ('j') | media/mojo/services/mojo_decryptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698