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