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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void RemoveOutputDeviceChangeListener(AudioDeviceListener* listener) override; | 48 void RemoveOutputDeviceChangeListener(AudioDeviceListener* listener) override; |
49 | 49 |
50 AudioParameters GetDefaultOutputStreamParameters() override; | 50 AudioParameters GetDefaultOutputStreamParameters() override; |
51 AudioParameters GetOutputStreamParameters( | 51 AudioParameters GetOutputStreamParameters( |
52 const std::string& device_id) override; | 52 const std::string& device_id) override; |
53 AudioParameters GetInputStreamParameters( | 53 AudioParameters GetInputStreamParameters( |
54 const std::string& device_id) override; | 54 const std::string& device_id) override; |
55 std::string GetAssociatedOutputDeviceID( | 55 std::string GetAssociatedOutputDeviceID( |
56 const std::string& input_device_id) override; | 56 const std::string& input_device_id) override; |
57 | 57 |
58 scoped_ptr<AudioLog> CreateAudioLog( | 58 std::unique_ptr<AudioLog> CreateAudioLog( |
59 AudioLogFactory::AudioComponent component) override; | 59 AudioLogFactory::AudioComponent component) override; |
60 | 60 |
61 protected: | 61 protected: |
62 ~MockAudioManager() override; | 62 ~MockAudioManager() override; |
63 | 63 |
64 private: | 64 private: |
65 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); | 65 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace media. | 68 } // namespace media. |
69 | 69 |
70 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ | 70 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ |
OLD | NEW |