| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/macros.h" |
| 7 #include "base/message_loop/message_loop.h" |
| 7 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
| 8 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 9 #include "base/test/test_message_loop.h" | 10 #include "base/test/test_message_loop.h" |
| 10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 11 #include "media/audio/audio_device_info_accessor_for_tests.h" | 12 #include "media/audio/audio_device_info_accessor_for_tests.h" |
| 12 #include "media/audio/audio_io.h" | 13 #include "media/audio/audio_io.h" |
| 13 #include "media/audio/audio_manager.h" | 14 #include "media/audio/audio_manager.h" |
| 14 #include "media/audio/audio_unittest_util.h" | 15 #include "media/audio/audio_unittest_util.h" |
| 15 #include "media/audio/mock_audio_source_callback.h" | 16 #include "media/audio/mock_audio_source_callback.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 stream->Start(&source_); | 112 stream->Start(&source_); |
| 112 event.Wait(); | 113 event.Wait(); |
| 113 | 114 |
| 114 stream->Stop(); | 115 stream->Stop(); |
| 115 stream->Close(); | 116 stream->Close(); |
| 116 | 117 |
| 117 EXPECT_FALSE(log_message_.empty()); | 118 EXPECT_FALSE(log_message_.empty()); |
| 118 } | 119 } |
| 119 | 120 |
| 120 } // namespace media | 121 } // namespace media |
| OLD | NEW |