| Index: remoting/protocol/audio_pump_unittest.cc
|
| diff --git a/remoting/protocol/audio_pump_unittest.cc b/remoting/protocol/audio_pump_unittest.cc
|
| index a118bec8f01499f66ca45516683b42953ea1f878..67ce2ac9ed1e1677cb58afd44473e095c9cec552 100644
|
| --- a/remoting/protocol/audio_pump_unittest.cc
|
| +++ b/remoting/protocol/audio_pump_unittest.cc
|
| @@ -17,6 +17,7 @@
|
| #include "remoting/proto/audio.pb.h"
|
| #include "remoting/protocol/audio_source.h"
|
| #include "remoting/protocol/audio_stub.h"
|
| +#include "remoting/protocol/fake_audio_source.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace remoting {
|
| @@ -33,24 +34,6 @@ std::unique_ptr<AudioPacket> MakeAudioPacket() {
|
|
|
| } // namespace
|
|
|
| -class FakeAudioSource : public AudioSource {
|
| - public:
|
| - FakeAudioSource() {}
|
| - ~FakeAudioSource() override {}
|
| -
|
| - bool Start(const PacketCapturedCallback& callback) override {
|
| - callback_ = callback;
|
| - return true;
|
| - }
|
| -
|
| - const PacketCapturedCallback& callback() { return callback_; }
|
| -
|
| - private:
|
| - PacketCapturedCallback callback_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(FakeAudioSource);
|
| -};
|
| -
|
| class FakeAudioEncoder : public AudioEncoder {
|
| public:
|
| FakeAudioEncoder() {}
|
|
|