| 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 "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "media/audio/audio_manager.h" | 9 #include "media/audio/audio_manager.h" |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 void AddOutputDeviceChangeListener(AudioDeviceListener* listener) override; | 49 void AddOutputDeviceChangeListener(AudioDeviceListener* listener) override; |
| 50 void RemoveOutputDeviceChangeListener(AudioDeviceListener* listener) override; | 50 void RemoveOutputDeviceChangeListener(AudioDeviceListener* listener) override; |
| 51 | 51 |
| 52 AudioParameters GetDefaultOutputStreamParameters() override; | 52 AudioParameters GetDefaultOutputStreamParameters() override; |
| 53 AudioParameters GetOutputStreamParameters( | 53 AudioParameters GetOutputStreamParameters( |
| 54 const std::string& device_id) override; | 54 const std::string& device_id) override; |
| 55 AudioParameters GetInputStreamParameters( | 55 AudioParameters GetInputStreamParameters( |
| 56 const std::string& device_id) override; | 56 const std::string& device_id) override; |
| 57 std::string GetAssociatedOutputDeviceID( | 57 std::string GetAssociatedOutputDeviceID( |
| 58 const std::string& input_device_id) override; | 58 const std::string& input_device_id) override; |
| 59 std::string GetGroupIDOutput(std::string output_id) override; |
| 60 std::string GetGroupIDInput(std::string input_id) override; |
| 59 | 61 |
| 60 std::unique_ptr<AudioLog> CreateAudioLog( | 62 std::unique_ptr<AudioLog> CreateAudioLog( |
| 61 AudioLogFactory::AudioComponent component) override; | 63 AudioLogFactory::AudioComponent component) override; |
| 62 | 64 |
| 63 protected: | 65 protected: |
| 64 ~MockAudioManager() override; | 66 ~MockAudioManager() override; |
| 65 | 67 |
| 66 private: | 68 private: |
| 67 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); | 69 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
| 68 }; | 70 }; |
| 69 | 71 |
| 70 } // namespace media. | 72 } // namespace media. |
| 71 | 73 |
| 72 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 74 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
| OLD | NEW |