| Index: media/mojo/services/mojo_audio_decoder.h
|
| diff --git a/media/mojo/services/mojo_audio_decoder.h b/media/mojo/services/mojo_audio_decoder.h
|
| index 3f0d58fa4e1167d5bd878615e884b65e8dbfa549..ae6097d44bb2cd83c0bba1779132a3ae130d7dd5 100644
|
| --- a/media/mojo/services/mojo_audio_decoder.h
|
| +++ b/media/mojo/services/mojo_audio_decoder.h
|
| @@ -63,6 +63,12 @@ class MojoAudioDecoder : public AudioDecoder,
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
|
|
|
| + // This class is constructed on one thread and used exclusively on another
|
| + // thread. This member is used to safely pass the AudioDecoderPtr from one
|
| + // thread to another. It is set in the constructor and is consumed in
|
| + // Initialize().
|
| + interfaces::AudioDecoderPtrInfo remote_decoder_info_;
|
| +
|
| interfaces::AudioDecoderPtr remote_decoder_;
|
|
|
| // DataPipe for serializing the data section of DecoderBuffer.
|
|
|