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

Side by Side Diff: media/audio/mock_audio_manager.cc

Issue 1186293003: Implement HasInputDevices in CrasAudioManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move audio_manager to be a regular member of CrasAudioManager. Fix InitializeForTesting Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/audio/mock_audio_manager.h" 5 #include "media/audio/mock_audio_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "media/audio/audio_parameters.h" 9 #include "media/audio/audio_parameters.h"
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return std::string(); 99 return std::string();
100 } 100 }
101 101
102 scoped_ptr<AudioLog> MockAudioManager::CreateAudioLog( 102 scoped_ptr<AudioLog> MockAudioManager::CreateAudioLog(
103 AudioLogFactory::AudioComponent component) { 103 AudioLogFactory::AudioComponent component) {
104 return scoped_ptr<AudioLog>(); 104 return scoped_ptr<AudioLog>();
105 } 105 }
106 106
107 void MockAudioManager::SetHasKeyboardMic() {} 107 void MockAudioManager::SetHasKeyboardMic() {}
108 108
109 void MockAudioManager::SetHasInputDevices(bool has_input_devices) {};
Daniel Erat 2015/06/24 13:37:45 nit: remove trailing semicolon
cychiang 2015/06/25 05:45:25 Done.
110
109 } // namespace media. 111 } // namespace media.
OLDNEW
« chromeos/audio/cras_audio_handler_unittest.cc ('K') | « media/audio/mock_audio_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698