| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_PROTOCOL_AUDIO_WRITER_H_ | 5 #ifndef REMOTING_PROTOCOL_AUDIO_WRITER_H_ |
| 6 #define REMOTING_PROTOCOL_AUDIO_WRITER_H_ | 6 #define REMOTING_PROTOCOL_AUDIO_WRITER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 ~AudioWriter() override; | 34 ~AudioWriter() override; |
| 35 | 35 |
| 36 // AudioStub interface. | 36 // AudioStub interface. |
| 37 void ProcessAudioPacket(scoped_ptr<AudioPacket> packet, | 37 void ProcessAudioPacket(scoped_ptr<AudioPacket> packet, |
| 38 const base::Closure& done) override; | 38 const base::Closure& done) override; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 AudioWriter(); | 41 AudioWriter(); |
| 42 | 42 |
| 43 void OnIncomingMessage(scoped_ptr<CompoundBuffer> message) override; |
| 44 |
| 43 DISALLOW_COPY_AND_ASSIGN(AudioWriter); | 45 DISALLOW_COPY_AND_ASSIGN(AudioWriter); |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 } // namespace protocol | 48 } // namespace protocol |
| 47 } // namespace remoting | 49 } // namespace remoting |
| 48 | 50 |
| 49 #endif // REMOTING_PROTOCOL_AUDIO_WRITER_H_ | 51 #endif // REMOTING_PROTOCOL_AUDIO_WRITER_H_ |
| OLD | NEW |