| Index: remoting/host/audio_pump.h
|
| diff --git a/remoting/host/audio_pump.h b/remoting/host/audio_pump.h
|
| index de32720457cbf4ca8afa0df5d579a69eeef5d1b7..2ebc8d71c3d4a69e7f06bafe9e7b818ab8c66743 100644
|
| --- a/remoting/host/audio_pump.h
|
| +++ b/remoting/host/audio_pump.h
|
| @@ -32,11 +32,10 @@ class AudioPump : public base::NonThreadSafe {
|
| public:
|
| // The caller must ensure that the |audio_stub| is not destroyed until the
|
| // pump is destroyed.
|
| - AudioPump(
|
| - scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
|
| - scoped_ptr<AudioCapturer> audio_capturer,
|
| - scoped_ptr<AudioEncoder> audio_encoder,
|
| - protocol::AudioStub* audio_stub);
|
| + AudioPump(scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
|
| + scoped_ptr<AudioCapturer> audio_capturer,
|
| + scoped_ptr<AudioEncoder> audio_encoder,
|
| + protocol::AudioStub* audio_stub);
|
| virtual ~AudioPump();
|
|
|
| // Pauses or resumes audio on a running session. This leaves the audio
|
| @@ -48,7 +47,10 @@ class AudioPump : public base::NonThreadSafe {
|
| class Core;
|
|
|
| // Called on the network thread to send a captured packet to the audio stub.
|
| - void SendAudioPacket(scoped_ptr<AudioPacket> packet);
|
| + void SendAudioPacket(scoped_ptr<AudioPacket> packet, int size);
|
| +
|
| + // Callback for BufferedSocketWriter.
|
| + void OnPacketSent(int size);
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
|
| protocol::AudioStub* audio_stub_;
|
|
|