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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include "base/environment.h" | 8 #include "base/environment.h" |
6 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/macros.h" |
7 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
8 #include "base/path_service.h" | 12 #include "base/path_service.h" |
9 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
10 #include "base/test/test_timeouts.h" | 14 #include "base/test/test_timeouts.h" |
11 #include "base/time/time.h" | 15 #include "base/time/time.h" |
12 #include "build/build_config.h" | 16 #include "build/build_config.h" |
13 #include "media/audio/audio_io.h" | 17 #include "media/audio/audio_io.h" |
14 #include "media/audio/audio_manager_base.h" | 18 #include "media/audio/audio_manager_base.h" |
15 #include "media/audio/audio_unittest_util.h" | 19 #include "media/audio/audio_unittest_util.h" |
16 #include "media/audio/fake_audio_log_factory.h" | 20 #include "media/audio/fake_audio_log_factory.h" |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 | 433 |
430 // All Close() operations that run on the mocked audio thread, | 434 // All Close() operations that run on the mocked audio thread, |
431 // should be synchronous and not post additional close tasks to | 435 // should be synchronous and not post additional close tasks to |
432 // mocked the audio thread. Hence, there is no need to call | 436 // mocked the audio thread. Hence, there is no need to call |
433 // message_loop()->RunUntilIdle() after the Close() methods. | 437 // message_loop()->RunUntilIdle() after the Close() methods. |
434 aos->Close(); | 438 aos->Close(); |
435 ais->Close(); | 439 ais->Close(); |
436 } | 440 } |
437 | 441 |
438 } // namespace media | 442 } // namespace media |
OLD | NEW |