| 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 #include "media/audio/audio_input_controller.h" | 5 #include "media/audio/audio_input_controller.h" |
| 6 #include "base/bind.h" | 6 #include "base/bind.h" |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 11 #include "base/single_thread_task_runner.h" |
| 11 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 12 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
| 13 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 14 #include "media/audio/audio_device_description.h" | 15 #include "media/audio/audio_device_description.h" |
| 15 #include "media/audio/audio_thread_impl.h" | 16 #include "media/audio/audio_thread_impl.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 19 |
| 19 using ::testing::_; | 20 using ::testing::_; |
| 20 using ::testing::AnyNumber; | 21 using ::testing::AnyNumber; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 controller->Record(); | 217 controller->Record(); |
| 217 | 218 |
| 218 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); | 219 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); |
| 219 base::RunLoop().Run(); | 220 base::RunLoop().Run(); |
| 220 | 221 |
| 221 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); | 222 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); |
| 222 base::RunLoop().Run(); | 223 base::RunLoop().Run(); |
| 223 } | 224 } |
| 224 | 225 |
| 225 } // namespace media | 226 } // namespace media |
| OLD | NEW |