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/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/macros.h" |
6 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
7 #include "base/synchronization/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
8 #include "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
9 #include "media/audio/audio_input_controller.h" | 10 #include "media/audio/audio_input_controller.h" |
10 #include "media/audio/audio_manager_base.h" | 11 #include "media/audio/audio_manager_base.h" |
11 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
13 | 14 |
14 using ::testing::_; | 15 using ::testing::_; |
15 using ::testing::AtLeast; | 16 using ::testing::AtLeast; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 controller->Record(); | 256 controller->Record(); |
256 | 257 |
257 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); | 258 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); |
258 base::MessageLoop::current()->Run(); | 259 base::MessageLoop::current()->Run(); |
259 | 260 |
260 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); | 261 controller->Close(base::MessageLoop::QuitWhenIdleClosure()); |
261 base::MessageLoop::current()->Run(); | 262 base::MessageLoop::current()->Run(); |
262 } | 263 } |
263 | 264 |
264 } // namespace media | 265 } // namespace media |
OLD | NEW |