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

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

Issue 1255083004: media: Mojo interfaces renaming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/decryptor.mojom
diff --git a/media/mojo/interfaces/decryptor.mojom b/media/mojo/interfaces/decryptor.mojom
index 39d94a3220d38240205f438a08f1098488ffacbc..9c5d6784251403bf61b78be90072589e4e8a5086 100644
--- a/media/mojo/interfaces/decryptor.mojom
+++ b/media/mojo/interfaces/decryptor.mojom
@@ -26,8 +26,8 @@ interface Decryptor {
// 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|.
- Decrypt(DemuxerStream.Type stream_type, MediaDecoderBuffer encrypted)
- => (Status status, MediaDecoderBuffer? buffer);
+ Decrypt(DemuxerStream.Type stream_type, DecoderBuffer encrypted)
+ => (Status status, DecoderBuffer? buffer);
// Cancels any pending decrypt for |stream_type| with SUCCESS.
CancelDecrypt(DemuxerStream.Type stream_type);
@@ -45,10 +45,10 @@ interface Decryptor {
// been successfully initialized.
// At most one decrypt-and-decode call is allowed at any time for a
// |stream_type|.
- DecryptAndDecodeAudio(MediaDecoderBuffer encrypted)
+ DecryptAndDecodeAudio(DecoderBuffer encrypted)
=> (Status status, array<AudioBuffer>? audio_buffers);
DecryptAndDecodeVideo(
- MediaDecoderBuffer encrypted) => (Status status, VideoFrame? video_frame);
+ DecoderBuffer encrypted) => (Status status, VideoFrame? video_frame);
// Resets the decoder for |stream_type| to a clean initialized state and
// cancels any pending decrypt-and-decode operations immediately with ERROR.

Powered by Google App Engine
This is Rietveld 408576698