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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/message_loop/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
| 9 #include "media/audio/audio_manager.h" |
| 10 #include "media/audio/audio_manager_base.h" |
9 #include "media/audio/audio_output_dispatcher_impl.h" | 11 #include "media/audio/audio_output_dispatcher_impl.h" |
10 #include "media/audio/audio_output_proxy.h" | 12 #include "media/audio/audio_output_proxy.h" |
11 #include "media/audio/audio_output_resampler.h" | 13 #include "media/audio/audio_output_resampler.h" |
12 #include "media/audio/audio_manager.h" | |
13 #include "media/audio/audio_manager_base.h" | |
14 #include "media/audio/fake_audio_output_stream.h" | 14 #include "media/audio/fake_audio_output_stream.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 using ::testing::_; | 18 using ::testing::_; |
19 using ::testing::AllOf; | 19 using ::testing::AllOf; |
20 using ::testing::DoAll; | 20 using ::testing::DoAll; |
21 using ::testing::Field; | 21 using ::testing::Field; |
22 using ::testing::Mock; | 22 using ::testing::Mock; |
23 using ::testing::NotNull; | 23 using ::testing::NotNull; |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 WaitForCloseTimer(kTestCloseDelayMs); | 732 WaitForCloseTimer(kTestCloseDelayMs); |
733 EXPECT_TRUE(stream1.stop_called()); | 733 EXPECT_TRUE(stream1.stop_called()); |
734 EXPECT_TRUE(stream1.start_called()); | 734 EXPECT_TRUE(stream1.start_called()); |
735 EXPECT_TRUE(stream2.stop_called()); | 735 EXPECT_TRUE(stream2.stop_called()); |
736 EXPECT_TRUE(stream2.start_called()); | 736 EXPECT_TRUE(stream2.start_called()); |
737 EXPECT_FALSE(stream3.stop_called()); | 737 EXPECT_FALSE(stream3.stop_called()); |
738 EXPECT_FALSE(stream3.start_called()); | 738 EXPECT_FALSE(stream3.start_called()); |
739 } | 739 } |
740 | 740 |
741 } // namespace media | 741 } // namespace media |
OLD | NEW |