| Index: content/renderer/media/webrtc_audio_renderer_unittest.cc
|
| diff --git a/content/renderer/media/webrtc_audio_renderer_unittest.cc b/content/renderer/media/webrtc_audio_renderer_unittest.cc
|
| index 06238dc9053f71f31fa4fd173f0df2d91c6e5d00..bf5e3179d7043c0018b357eb2b1e6438b232727e 100644
|
| --- a/content/renderer/media/webrtc_audio_renderer_unittest.cc
|
| +++ b/content/renderer/media/webrtc_audio_renderer_unittest.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/single_thread_task_runner.h"
|
| @@ -40,6 +41,10 @@ class MockAudioOutputIPC : public media::AudioOutputIPC {
|
| MOCK_METHOD0(PauseStream, void());
|
| MOCK_METHOD0(CloseStream, void());
|
| MOCK_METHOD1(SetVolume, void(double volume));
|
| + MOCK_METHOD3(SwitchOutputDevice,
|
| + void(const std::string& device_id,
|
| + const GURL& security_origin,
|
| + int request_id));
|
| };
|
|
|
| class FakeAudioOutputDevice
|
| @@ -55,6 +60,10 @@ class FakeAudioOutputDevice
|
| MOCK_METHOD0(Pause, void());
|
| MOCK_METHOD0(Play, void());
|
| MOCK_METHOD1(SetVolume, bool(double volume));
|
| + MOCK_METHOD3(SwitchOutputDevice,
|
| + void(const std::string&,
|
| + const GURL& security_origin,
|
| + const media::SwitchOutputDeviceCB& callback));
|
|
|
| protected:
|
| virtual ~FakeAudioOutputDevice() {}
|
|
|