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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
16 #include "base/process/process_handle.h" | 16 #include "base/process/process_handle.h" |
17 #include "base/sync_socket.h" | 17 #include "base/sync_socket.h" |
18 #include "base/task_runner.h" | 18 #include "base/task_runner.h" |
19 #include "base/test/test_timeouts.h" | 19 #include "base/test/test_timeouts.h" |
20 #include "base/thread_task_runner_handle.h" | 20 #include "base/threading/thread_task_runner_handle.h" |
21 #include "media/audio/audio_output_device.h" | 21 #include "media/audio/audio_output_device.h" |
22 #include "media/audio/sample_rates.h" | 22 #include "media/audio/sample_rates.h" |
23 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
24 #include "testing/gmock_mutant.h" | 24 #include "testing/gmock_mutant.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
26 | 26 |
27 using base::CancelableSyncSocket; | 27 using base::CancelableSyncSocket; |
28 using base::SharedMemory; | 28 using base::SharedMemory; |
29 using base::SyncSocket; | 29 using base::SyncSocket; |
30 using testing::_; | 30 using testing::_; |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 314 |
315 TEST_P(AudioOutputDeviceTest, UnauthorizedDevice) { | 315 TEST_P(AudioOutputDeviceTest, UnauthorizedDevice) { |
316 SetDevice(kUnauthorizedDeviceId); | 316 SetDevice(kUnauthorizedDeviceId); |
317 StartAudioDevice(); | 317 StartAudioDevice(); |
318 StopAudioDevice(); | 318 StopAudioDevice(); |
319 } | 319 } |
320 | 320 |
321 INSTANTIATE_TEST_CASE_P(Render, AudioOutputDeviceTest, Values(false)); | 321 INSTANTIATE_TEST_CASE_P(Render, AudioOutputDeviceTest, Values(false)); |
322 | 322 |
323 } // namespace media. | 323 } // namespace media. |
OLD | NEW |