| OLD | NEW |
| 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/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 #include "media/audio/audio_parameters.h" | 9 #include "media/audio/audio_parameters.h" |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool MockAudioManager::IsRecordingInProcess() { | 58 bool MockAudioManager::IsRecordingInProcess() { |
| 59 return false; | 59 return false; |
| 60 } | 60 } |
| 61 | 61 |
| 62 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { | 62 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { |
| 63 return message_loop_proxy_; | 63 return message_loop_proxy_; |
| 64 } | 64 } |
| 65 | 65 |
| 66 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetWorkerLoop() { |
| 67 return message_loop_proxy_; |
| 68 } |
| 69 |
| 66 void MockAudioManager::AddOutputDeviceChangeListener( | 70 void MockAudioManager::AddOutputDeviceChangeListener( |
| 67 AudioDeviceListener* listener) { | 71 AudioDeviceListener* listener) { |
| 68 } | 72 } |
| 69 | 73 |
| 70 void MockAudioManager::RemoveOutputDeviceChangeListener( | 74 void MockAudioManager::RemoveOutputDeviceChangeListener( |
| 71 AudioDeviceListener* listener) { | 75 AudioDeviceListener* listener) { |
| 72 } | 76 } |
| 73 | 77 |
| 74 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { | 78 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { |
| 75 return AudioParameters(); | 79 return AudioParameters(); |
| 76 } | 80 } |
| 77 | 81 |
| 78 AudioParameters MockAudioManager::GetInputStreamParameters( | 82 AudioParameters MockAudioManager::GetInputStreamParameters( |
| 79 const std::string& device_id) { | 83 const std::string& device_id) { |
| 80 return AudioParameters(); | 84 return AudioParameters(); |
| 81 } | 85 } |
| 82 | 86 |
| 83 } // namespace media. | 87 } // namespace media. |
| OLD | NEW |