Index: media/audio/mock_audio_manager.h |
diff --git a/media/audio/mock_audio_manager.h b/media/audio/mock_audio_manager.h |
index ae5bd50df95b0c4f06f516c423219ca0334dc706..619398d0b8635e4148f2cfcdc59eb3d811a814b5 100644 |
--- a/media/audio/mock_audio_manager.h |
+++ b/media/audio/mock_audio_manager.h |
@@ -72,16 +72,23 @@ class MockAudioManager : public AudioManager { |
const char* GetName() override; |
// Setters to emulate desired in-test behavior. |
- void SetInputStreamParameters(const AudioParameters& input_params); |
+ void SetInputStreamParameters(const AudioParameters& params); |
+ void SetOutputStreamParameters(const AudioParameters& params); |
+ void SetDefaultOutputStreamParameters(const AudioParameters& params); |
void SetHasInputDevices(bool has_input_devices); |
+ void SetHasOutputDevices(bool has_output_devices); |
protected: |
~MockAudioManager() override; |
private: |
friend class base::DeleteHelper<MockAudioManager>; |
+ |
AudioParameters input_params_; |
+ AudioParameters output_params_; |
+ AudioParameters default_output_params_; |
bool has_input_devices_ = true; |
+ bool has_output_devices_ = true; |
DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
}; |