| Index: remoting/client/audio_decode_scheduler.h
|
| diff --git a/remoting/client/audio_decode_scheduler.h b/remoting/client/audio_decode_scheduler.h
|
| index 767342f011edf79ddb37bc5303367846a957cef1..af9fa34d8abd502a5847e77315c7032f3c5c5806 100644
|
| --- a/remoting/client/audio_decode_scheduler.h
|
| +++ b/remoting/client/audio_decode_scheduler.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "remoting/protocol/audio_stub.h"
|
|
|
| namespace base {
|
| @@ -21,16 +22,16 @@ namespace protocol {
|
| class SessionConfig;
|
| } // namespace protocol
|
|
|
| +class AudioConsumer;
|
| class AudioDecoder;
|
| class AudioPacket;
|
| -class AudioPlayer;
|
|
|
| class AudioDecodeScheduler : public protocol::AudioStub {
|
| public:
|
| AudioDecodeScheduler(
|
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
|
| scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner,
|
| - std::unique_ptr<AudioPlayer> audio_player);
|
| + base::WeakPtr<AudioConsumer> audio_consumer);
|
| ~AudioDecodeScheduler() override;
|
|
|
| // Initializes decoder with the information from the protocol config.
|
|
|