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

Unified Diff: media/mojo/clients/mojo_decryptor.h

Issue 2416373002: media: Use native Decryptor enum types in media mojo interfaces (Closed)
Patch Set: Created 4 years, 2 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/clients/mojo_decryptor.h
diff --git a/media/mojo/clients/mojo_decryptor.h b/media/mojo/clients/mojo_decryptor.h
index 6e289c8f46e43681da76dfcf32eacb2a30ccab32..656b9fcd2ca4ab1a59e2ed5b4b496a83a49e3407 100644
--- a/media/mojo/clients/mojo_decryptor.h
+++ b/media/mojo/clients/mojo_decryptor.h
@@ -50,13 +50,13 @@ class MojoDecryptor : public Decryptor {
private:
// Called when a buffer is decrypted.
void OnBufferDecrypted(const DecryptCB& decrypt_cb,
- mojom::Decryptor::Status status,
+ Status status,
mojom::DecoderBufferPtr buffer);
void OnAudioDecoded(const AudioDecodeCB& audio_decode_cb,
- mojom::Decryptor::Status status,
+ Status status,
std::vector<mojom::AudioBufferPtr> audio_buffers);
void OnVideoDecoded(const VideoDecodeCB& video_decode_cb,
- mojom::Decryptor::Status status,
+ Status status,
mojom::VideoFramePtr video_frame);
// Called when done with a VideoFrame in order to reuse the shared memory.

Powered by Google App Engine
This is Rietveld 408576698