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/environment.h" | 6 #include "base/environment.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 10 #include "build/build_config.h" |
10 #include "media/audio/audio_manager.h" | 11 #include "media/audio/audio_manager.h" |
11 #include "media/audio/audio_manager_base.h" | 12 #include "media/audio/audio_manager_base.h" |
12 #include "media/audio/audio_output_proxy.h" | 13 #include "media/audio/audio_output_proxy.h" |
13 #include "media/audio/audio_unittest_util.h" | 14 #include "media/audio/audio_unittest_util.h" |
14 #include "media/audio/fake_audio_log_factory.h" | 15 #include "media/audio/fake_audio_log_factory.h" |
15 #include "media/audio/fake_audio_manager.h" | 16 #include "media/audio/fake_audio_manager.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
17 | 18 |
18 #if defined(USE_ALSA) | 19 #if defined(USE_ALSA) |
19 #include "media/audio/alsa/audio_manager_alsa.h" | 20 #include "media/audio/alsa/audio_manager_alsa.h" |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 DVLOG(2) << it->unique_id << " matches with " << output_device_id; | 401 DVLOG(2) << it->unique_id << " matches with " << output_device_id; |
401 found_an_associated_device = true; | 402 found_an_associated_device = true; |
402 } | 403 } |
403 } | 404 } |
404 | 405 |
405 EXPECT_TRUE(found_an_associated_device); | 406 EXPECT_TRUE(found_an_associated_device); |
406 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 407 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
407 } | 408 } |
408 | 409 |
409 } // namespace media | 410 } // namespace media |
OLD | NEW |