| 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 22 matching lines...) Expand all Loading... |
| 33 virtual void ShowAudioInputSettings() OVERRIDE; | 33 virtual void ShowAudioInputSettings() OVERRIDE; |
| 34 | 34 |
| 35 virtual void GetAudioInputDeviceNames( | 35 virtual void GetAudioInputDeviceNames( |
| 36 media::AudioDeviceNames* device_names) OVERRIDE; | 36 media::AudioDeviceNames* device_names) OVERRIDE; |
| 37 | 37 |
| 38 virtual void GetAudioOutputDeviceNames( | 38 virtual void GetAudioOutputDeviceNames( |
| 39 media::AudioDeviceNames* device_names) OVERRIDE; | 39 media::AudioDeviceNames* device_names) OVERRIDE; |
| 40 | 40 |
| 41 virtual media::AudioOutputStream* MakeAudioOutputStream( | 41 virtual media::AudioOutputStream* MakeAudioOutputStream( |
| 42 const media::AudioParameters& params, | 42 const media::AudioParameters& params, |
| 43 const std::string& device_id, | 43 const std::string& device_id) OVERRIDE; |
| 44 const std::string& input_device_id) OVERRIDE; | |
| 45 | 44 |
| 46 virtual media::AudioOutputStream* MakeAudioOutputStreamProxy( | 45 virtual media::AudioOutputStream* MakeAudioOutputStreamProxy( |
| 47 const media::AudioParameters& params, | 46 const media::AudioParameters& params, |
| 48 const std::string& device_id, | 47 const std::string& device_id) OVERRIDE; |
| 49 const std::string& input_device_id) OVERRIDE; | |
| 50 | 48 |
| 51 virtual media::AudioInputStream* MakeAudioInputStream( | 49 virtual media::AudioInputStream* MakeAudioInputStream( |
| 52 const media::AudioParameters& params, | 50 const media::AudioParameters& params, |
| 53 const std::string& device_id) OVERRIDE; | 51 const std::string& device_id) OVERRIDE; |
| 54 | 52 |
| 55 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE; | 53 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE; |
| 56 virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner() | 54 virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner() |
| 57 OVERRIDE; | 55 OVERRIDE; |
| 58 | 56 |
| 59 virtual void AddOutputDeviceChangeListener( | 57 virtual void AddOutputDeviceChangeListener( |
| (...skipping 19 matching lines...) Expand all Loading... |
| 79 | 77 |
| 80 private: | 78 private: |
| 81 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 79 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 82 | 80 |
| 83 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); | 81 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
| 84 }; | 82 }; |
| 85 | 83 |
| 86 } // namespace media. | 84 } // namespace media. |
| 87 | 85 |
| 88 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 86 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
| OLD | NEW |