| 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> |
| 6 |
| 5 #include <vector> | 7 #include <vector> |
| 6 | 8 |
| 7 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
| 8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 9 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 11 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
| 12 #include "base/process/process_handle.h" | 15 #include "base/process/process_handle.h" |
| 13 #include "base/sync_socket.h" | 16 #include "base/sync_socket.h" |
| 14 #include "base/task_runner.h" | 17 #include "base/task_runner.h" |
| 15 #include "base/test/test_timeouts.h" | 18 #include "base/test/test_timeouts.h" |
| 16 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
| 17 #include "media/audio/audio_output_device.h" | 20 #include "media/audio/audio_output_device.h" |
| 18 #include "media/audio/sample_rates.h" | 21 #include "media/audio/sample_rates.h" |
| 19 #include "testing/gmock/include/gmock/gmock.h" | 22 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 312 |
| 310 TEST_P(AudioOutputDeviceTest, UnauthorizedDevice) { | 313 TEST_P(AudioOutputDeviceTest, UnauthorizedDevice) { |
| 311 SetDevice(kUnauthorizedDeviceId); | 314 SetDevice(kUnauthorizedDeviceId); |
| 312 StartAudioDevice(); | 315 StartAudioDevice(); |
| 313 StopAudioDevice(); | 316 StopAudioDevice(); |
| 314 } | 317 } |
| 315 | 318 |
| 316 INSTANTIATE_TEST_CASE_P(Render, AudioOutputDeviceTest, Values(false)); | 319 INSTANTIATE_TEST_CASE_P(Render, AudioOutputDeviceTest, Values(false)); |
| 317 | 320 |
| 318 } // namespace media. | 321 } // namespace media. |
| OLD | NEW |