Index: media/audio/mock_audio_manager.h |
diff --git a/media/audio/mock_audio_manager.h b/media/audio/mock_audio_manager.h |
index 69e0d1496ed022a37cd159da08c1bd7c09d73662..781729a56ca02f7c4b32d33d16b9a1f5fb97a6f8 100644 |
--- a/media/audio/mock_audio_manager.h |
+++ b/media/audio/mock_audio_manager.h |
@@ -26,6 +26,8 @@ class MockAudioManager : public AudioManager { |
using UniquePtr = std::unique_ptr<MockAudioManager, Deleter>; |
using GetDeviceDescriptionsCallback = |
base::RepeatingCallback<void(AudioDeviceDescriptions*)>; |
+ using GetAssociatedOutputDeviceIDCallback = |
+ base::RepeatingCallback<std::string(const std::string&)>; |
explicit MockAudioManager( |
scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
@@ -90,6 +92,8 @@ class MockAudioManager : public AudioManager { |
GetDeviceDescriptionsCallback callback); |
void SetOutputDeviceDescriptionsCallback( |
GetDeviceDescriptionsCallback callback); |
+ void SetAssociatedOutputDeviceIDCallback( |
+ GetAssociatedOutputDeviceIDCallback callback); |
protected: |
~MockAudioManager() override; |
@@ -104,6 +108,7 @@ class MockAudioManager : public AudioManager { |
bool has_output_devices_ = true; |
GetDeviceDescriptionsCallback get_input_device_descriptions_cb_; |
GetDeviceDescriptionsCallback get_output_device_descriptions_cb_; |
+ GetAssociatedOutputDeviceIDCallback get_associated_output_device_id_cb_; |
DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
}; |