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 #ifndef MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 5 #ifndef MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
6 #define MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 6 #define MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
7 | 7 |
8 #include "media/audio/audio_manager.h" | 8 #include "media/audio/audio_manager.h" |
9 | 9 |
10 namespace media { | 10 namespace media { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 virtual bool IsRecordingInProcess() OVERRIDE; | 49 virtual bool IsRecordingInProcess() OVERRIDE; |
50 | 50 |
51 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; | 51 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; |
52 | 52 |
53 virtual void AddOutputDeviceChangeListener( | 53 virtual void AddOutputDeviceChangeListener( |
54 AudioDeviceListener* listener) OVERRIDE; | 54 AudioDeviceListener* listener) OVERRIDE; |
55 virtual void RemoveOutputDeviceChangeListener( | 55 virtual void RemoveOutputDeviceChangeListener( |
56 AudioDeviceListener* listener) OVERRIDE; | 56 AudioDeviceListener* listener) OVERRIDE; |
57 | 57 |
| 58 protected: |
| 59 virtual void InitializeOnAudioThread() OVERRIDE; |
| 60 |
58 private: | 61 private: |
59 virtual ~MockAudioManager(); | 62 virtual ~MockAudioManager(); |
60 | 63 |
61 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; | 64 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
62 | 65 |
63 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); | 66 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
64 }; | 67 }; |
65 | 68 |
66 } // namespace media. | 69 } // namespace media. |
67 | 70 |
68 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 71 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
OLD | NEW |