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_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ | 5 #ifndef MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ |
6 #define MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ | 6 #define MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/macros.h" |
9 #include "media/audio/audio_input_controller.h" | 10 #include "media/audio/audio_input_controller.h" |
10 | 11 |
11 namespace media { | 12 namespace media { |
12 | 13 |
13 class UserInputMonitor; | 14 class UserInputMonitor; |
14 class TestAudioInputControllerFactory; | 15 class TestAudioInputControllerFactory; |
15 | 16 |
16 // TestAudioInputController and TestAudioInputControllerFactory are used for | 17 // TestAudioInputController and TestAudioInputControllerFactory are used for |
17 // testing consumers of AudioInputController. TestAudioInputControllerFactory | 18 // testing consumers of AudioInputController. TestAudioInputControllerFactory |
18 // is a AudioInputController::Factory that creates TestAudioInputControllers. | 19 // is a AudioInputController::Factory that creates TestAudioInputControllers. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 122 |
122 // The delegate for tests for receiving audio controller events. | 123 // The delegate for tests for receiving audio controller events. |
123 TestAudioInputControllerDelegate* delegate_; | 124 TestAudioInputControllerDelegate* delegate_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(TestAudioInputControllerFactory); | 126 DISALLOW_COPY_AND_ASSIGN(TestAudioInputControllerFactory); |
126 }; | 127 }; |
127 | 128 |
128 } // namespace media | 129 } // namespace media |
129 | 130 |
130 #endif // MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ | 131 #endif // MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ |
OLD | NEW |