Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1740)

Unified Diff: media/audio/mock_audio_manager.h

Issue 2696253004: Revert of Switching AudioOutputAuthorizationHandler from using AudioManager interface to AudioSystem one. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/audio_system_impl_unittest.cc ('k') | media/audio/mock_audio_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mock_audio_manager.h
diff --git a/media/audio/mock_audio_manager.h b/media/audio/mock_audio_manager.h
index 619398d0b8635e4148f2cfcdc59eb3d811a814b5..ae5bd50df95b0c4f06f516c423219ca0334dc706 100644
--- a/media/audio/mock_audio_manager.h
+++ b/media/audio/mock_audio_manager.h
@@ -72,23 +72,16 @@
const char* GetName() override;
// Setters to emulate desired in-test behavior.
- void SetInputStreamParameters(const AudioParameters& params);
- void SetOutputStreamParameters(const AudioParameters& params);
- void SetDefaultOutputStreamParameters(const AudioParameters& params);
+ void SetInputStreamParameters(const AudioParameters& input_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);
};
« no previous file with comments | « media/audio/audio_system_impl_unittest.cc ('k') | media/audio/mock_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698