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 | 9 |
10 namespace media { | 10 namespace media { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 | 60 |
61 bool MockAudioManager::IsRecordingInProcess() { | 61 bool MockAudioManager::IsRecordingInProcess() { |
62 return false; | 62 return false; |
63 } | 63 } |
64 | 64 |
65 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { | 65 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { |
66 return message_loop_proxy_; | 66 return message_loop_proxy_; |
67 } | 67 } |
68 | 68 |
69 void MockAudioManager::Init() { | |
70 } | |
71 | |
72 void MockAudioManager::AddOutputDeviceChangeListener( | 69 void MockAudioManager::AddOutputDeviceChangeListener( |
73 AudioDeviceListener* listener) { | 70 AudioDeviceListener* listener) { |
74 } | 71 } |
75 | 72 |
76 void MockAudioManager::RemoveOutputDeviceChangeListener( | 73 void MockAudioManager::RemoveOutputDeviceChangeListener( |
77 AudioDeviceListener* listener) { | 74 AudioDeviceListener* listener) { |
78 } | 75 } |
79 | 76 |
80 } // namespace media. | 77 } // namespace media. |
OLD | NEW |