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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/synchronization/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
9 #include "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
10 #include "media/audio/audio_input_controller.h" | 10 #include "media/audio/audio_input_controller.h" |
11 #include "media/audio/audio_manager_base.h" | 11 #include "media/audio/audio_manager_base.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 using ::testing::_; | 15 using ::testing::_; |
16 using ::testing::AtLeast; | 16 using ::testing::AtLeast; |
17 using ::testing::Exactly; | 17 using ::testing::Exactly; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 controller->Record(); | 226 controller->Record(); |
227 | 227 |
228 controller->Close(base::MessageLoop::QuitClosure()); | 228 controller->Close(base::MessageLoop::QuitClosure()); |
229 base::MessageLoop::current()->Run(); | 229 base::MessageLoop::current()->Run(); |
230 | 230 |
231 controller->Close(base::MessageLoop::QuitClosure()); | 231 controller->Close(base::MessageLoop::QuitClosure()); |
232 base::MessageLoop::current()->Run(); | 232 base::MessageLoop::current()->Run(); |
233 } | 233 } |
234 | 234 |
235 } // namespace media | 235 } // namespace media |
OLD | NEW |