OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/environment.h" | 5 #include "base/environment.h" |
6 #include "base/basictypes.h" | 6 #include "base/basictypes.h" |
| 7 #include "base/logging.h" |
7 #include "base/waitable_event.h" | 8 #include "base/waitable_event.h" |
8 #include "media/audio/audio_output_controller.h" | 9 #include "media/audio/audio_output_controller.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
11 | 12 |
12 using ::testing::_; | 13 using ::testing::_; |
13 using ::testing::AtLeast; | 14 using ::testing::AtLeast; |
14 using ::testing::Exactly; | 15 using ::testing::Exactly; |
15 using ::testing::InvokeWithoutArgs; | 16 using ::testing::InvokeWithoutArgs; |
16 using ::testing::NotNull; | 17 using ::testing::NotNull; |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 event.Wait(); | 300 event.Wait(); |
300 | 301 |
301 // Wait for OnMoreData() to be called. | 302 // Wait for OnMoreData() to be called. |
302 event.Wait(); | 303 event.Wait(); |
303 | 304 |
304 controller->Close(); | 305 controller->Close(); |
305 controller->Close(); | 306 controller->Close(); |
306 } | 307 } |
307 | 308 |
308 } // namespace media | 309 } // namespace media |
OLD | NEW |