| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const std::string& device_id) override; | 60 const std::string& device_id) override; |
| 61 AudioParameters GetInputStreamParameters( | 61 AudioParameters GetInputStreamParameters( |
| 62 const std::string& device_id) override; | 62 const std::string& device_id) override; |
| 63 std::string GetAssociatedOutputDeviceID( | 63 std::string GetAssociatedOutputDeviceID( |
| 64 const std::string& input_device_id) override; | 64 const std::string& input_device_id) override; |
| 65 | 65 |
| 66 scoped_ptr<AudioLog> CreateAudioLog( | 66 scoped_ptr<AudioLog> CreateAudioLog( |
| 67 AudioLogFactory::AudioComponent component) override; | 67 AudioLogFactory::AudioComponent component) override; |
| 68 | 68 |
| 69 void SetHasKeyboardMic() override; | 69 void SetHasKeyboardMic() override; |
| 70 void SetHasInputDevices(bool has_input_devices) override; |
| 70 | 71 |
| 71 protected: | 72 protected: |
| 72 ~MockAudioManager() override; | 73 ~MockAudioManager() override; |
| 73 | 74 |
| 74 private: | 75 private: |
| 75 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 76 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 76 | 77 |
| 77 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); | 78 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace media. | 81 } // namespace media. |
| 81 | 82 |
| 82 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 83 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
| OLD | NEW |