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 "base/macros.h" |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "media/audio/audio_input_controller.h" | 11 #include "media/audio/audio_input_controller.h" |
11 #include "media/base/audio_parameters.h" | 12 #include "media/base/audio_parameters.h" |
12 | 13 |
13 namespace media { | 14 namespace media { |
14 | 15 |
15 class UserInputMonitor; | 16 class UserInputMonitor; |
16 class TestAudioInputControllerFactory; | 17 class TestAudioInputControllerFactory; |
17 | 18 |
18 // TestAudioInputController and TestAudioInputControllerFactory are used for | 19 // TestAudioInputController and TestAudioInputControllerFactory are used for |
19 // testing consumers of AudioInputController. TestAudioInputControllerFactory | 20 // testing consumers of AudioInputController. TestAudioInputControllerFactory |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 132 |
132 // The delegate for tests for receiving audio controller events. | 133 // The delegate for tests for receiving audio controller events. |
133 TestAudioInputControllerDelegate* delegate_; | 134 TestAudioInputControllerDelegate* delegate_; |
134 | 135 |
135 DISALLOW_COPY_AND_ASSIGN(TestAudioInputControllerFactory); | 136 DISALLOW_COPY_AND_ASSIGN(TestAudioInputControllerFactory); |
136 }; | 137 }; |
137 | 138 |
138 } // namespace media | 139 } // namespace media |
139 | 140 |
140 #endif // MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ | 141 #endif // MEDIA_AUDIO_TEST_AUDIO_INPUT_CONTROLLER_FACTORY_H_ |
OLD | NEW |