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