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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 base::string16 GetAudioInputDeviceModel() override; | 31 base::string16 GetAudioInputDeviceModel() override; |
32 | 32 |
33 void ShowAudioInputSettings() override; | 33 void ShowAudioInputSettings() override; |
34 | 34 |
35 void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) override; | 35 void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) override; |
36 | 36 |
37 void GetAudioOutputDeviceNames( | 37 void GetAudioOutputDeviceNames( |
38 media::AudioDeviceNames* device_names) override; | 38 media::AudioDeviceNames* device_names) override; |
39 | 39 |
| 40 std::string GetDefaultDeviceName() const override; |
| 41 |
40 media::AudioOutputStream* MakeAudioOutputStream( | 42 media::AudioOutputStream* MakeAudioOutputStream( |
41 const media::AudioParameters& params, | 43 const media::AudioParameters& params, |
42 const std::string& device_id) override; | 44 const std::string& device_id) override; |
43 | 45 |
44 media::AudioOutputStream* MakeAudioOutputStreamProxy( | 46 media::AudioOutputStream* MakeAudioOutputStreamProxy( |
45 const media::AudioParameters& params, | 47 const media::AudioParameters& params, |
46 const std::string& device_id) override; | 48 const std::string& device_id) override; |
47 | 49 |
48 media::AudioInputStream* MakeAudioInputStream( | 50 media::AudioInputStream* MakeAudioInputStream( |
49 const media::AudioParameters& params, | 51 const media::AudioParameters& params, |
(...skipping 23 matching lines...) Expand all Loading... |
73 | 75 |
74 private: | 76 private: |
75 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 77 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
76 | 78 |
77 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); | 79 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
78 }; | 80 }; |
79 | 81 |
80 } // namespace media. | 82 } // namespace media. |
81 | 83 |
82 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 84 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
OLD | NEW |