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

Unified Diff: media/audio/mock_audio_manager.cc

Issue 2563653002: Replace AudioManager::GetAudio*DeviceNames with AudioManager::GetAudio*DeviceDescriptions (Closed)
Patch Set: nit fixes Created 4 years 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/mock_audio_manager.h ('k') | media/audio/win/audio_low_latency_input_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mock_audio_manager.cc
diff --git a/media/audio/mock_audio_manager.cc b/media/audio/mock_audio_manager.cc
index 2fbc2859c8e35ea15d76637ad16c3590394a041b..6d1584595bbfd63801633d2961a685d090dc4038 100644
--- a/media/audio/mock_audio_manager.cc
+++ b/media/audio/mock_audio_manager.cc
@@ -32,15 +32,11 @@ base::string16 MockAudioManager::GetAudioInputDeviceModel() {
void MockAudioManager::ShowAudioInputSettings() {
}
-void MockAudioManager::GetAudioInputDeviceNames(
- AudioDeviceNames* device_names) {
- // Do not inject fake devices here, use
- // AudioInputDeviceManager::GetFakeDeviceNames() instead.
-}
+void MockAudioManager::GetAudioInputDeviceDescriptions(
+ AudioDeviceDescriptions* device_descriptions) {}
-void MockAudioManager::GetAudioOutputDeviceNames(
- AudioDeviceNames* device_names) {
-}
+void MockAudioManager::GetAudioOutputDeviceDescriptions(
+ AudioDeviceDescriptions* device_descriptions) {}
media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream(
const media::AudioParameters& params,
@@ -92,14 +88,6 @@ std::string MockAudioManager::GetAssociatedOutputDeviceID(
return std::string();
}
-std::string MockAudioManager::GetGroupIDOutput(const std::string& output_id) {
- return "";
-}
-
-std::string MockAudioManager::GetGroupIDInput(const std::string& input_id) {
- return "";
-}
-
std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog(
AudioLogFactory::AudioComponent component) {
return nullptr;
« no previous file with comments | « media/audio/mock_audio_manager.h ('k') | media/audio/win/audio_low_latency_input_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698