diff options
Diffstat (limited to 'media/audio/mac/audio_auhal_mac_unittest.cc')
-rw-r--r-- | media/audio/mac/audio_auhal_mac_unittest.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/media/audio/mac/audio_auhal_mac_unittest.cc b/media/audio/mac/audio_auhal_mac_unittest.cc index 4279435..9babd80 100644 --- a/media/audio/mac/audio_auhal_mac_unittest.cc +++ b/media/audio/mac/audio_auhal_mac_unittest.cc @@ -9,6 +9,7 @@ #include "base/synchronization/waitable_event.h" #include "media/audio/audio_io.h" #include "media/audio/audio_manager.h" +#include "media/audio/mock_audio_source_callback.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" @@ -29,16 +30,6 @@ ACTION_P(SignalEvent, event) { event->Signal(); } -class MockAudioSourceCallback : public AudioOutputStream::AudioSourceCallback { - public: - MOCK_METHOD2(OnMoreData, int(AudioBus* audio_bus, - AudioBuffersState buffers_state)); - MOCK_METHOD3(OnMoreIOData, int(AudioBus* source, - AudioBus* dest, - AudioBuffersState buffers_state)); - MOCK_METHOD1(OnError, void(AudioOutputStream* stream)); -}; - class AUHALStreamTest : public testing::Test { public: AUHALStreamTest() |