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

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

Issue 2416183002: media: Use native DemuxerStream enum types in media mojo interfaces (Closed)
Patch Set: comments addressed 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
« no previous file with comments | « media/filters/source_buffer_state.cc ('k') | media/mojo/clients/mojo_demuxer_stream_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_demuxer_stream_impl.h
diff --git a/media/mojo/clients/mojo_demuxer_stream_impl.h b/media/mojo/clients/mojo_demuxer_stream_impl.h
index 5c284f4716b4618e1e206e136e26b7415ad66b1d..684c2629b3dabe555e19f48b6327fdcfd1a50fb3 100644
--- a/media/mojo/clients/mojo_demuxer_stream_impl.h
+++ b/media/mojo/clients/mojo_demuxer_stream_impl.h
@@ -43,8 +43,11 @@ class MojoDemuxerStreamImpl : public mojom::DemuxerStream {
}
private:
+ using Type = media::DemuxerStream::Type;
+ using Status = media::DemuxerStream::Status;
+
void OnBufferReady(const ReadCallback& callback,
- media::DemuxerStream::Status status,
+ Status status,
const scoped_refptr<media::DecoderBuffer>& buffer);
mojo::Binding<mojom::DemuxerStream> binding_;
« no previous file with comments | « media/filters/source_buffer_state.cc ('k') | media/mojo/clients/mojo_demuxer_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698