| 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 9ead60e221e5361227da8594884739d54968ce77..5c284f4716b4618e1e206e136e26b7415ad66b1d 100644
|
| --- a/media/mojo/clients/mojo_demuxer_stream_impl.h
|
| +++ b/media/mojo/clients/mojo_demuxer_stream_impl.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef MEDIA_MOJO_CLIENTS_MOJO_DEMUXER_STREAM_IMPL_H_
|
| #define MEDIA_MOJO_CLIENTS_MOJO_DEMUXER_STREAM_IMPL_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/callback_forward.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -13,7 +15,9 @@
|
| #include "mojo/public/cpp/bindings/binding.h"
|
|
|
| namespace media {
|
| +
|
| class DemuxerStream;
|
| +class MojoDecoderBufferWriter;
|
|
|
| // This class wraps a media::DemuxerStream and exposes it as a
|
| // mojom::DemuxerStream for use as a proxy from remote applications.
|
| @@ -48,8 +52,7 @@ class MojoDemuxerStreamImpl : public mojom::DemuxerStream {
|
| // See constructor. We do not own |stream_|.
|
| media::DemuxerStream* stream_;
|
|
|
| - // DataPipe for serializing the data section of DecoderBuffer into.
|
| - mojo::ScopedDataPipeProducerHandle stream_pipe_;
|
| + std::unique_ptr<MojoDecoderBufferWriter> mojo_decoder_buffer_writer_;
|
|
|
| base::WeakPtrFactory<MojoDemuxerStreamImpl> weak_factory_;
|
| DISALLOW_COPY_AND_ASSIGN(MojoDemuxerStreamImpl);
|
|
|