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 "content/browser/renderer_host/media/audio_renderer_host.h" | 5 #include "content/browser/renderer_host/media/audio_renderer_host.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ptr_util.h" |
14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
15 #include "base/sync_socket.h" | 16 #include "base/sync_socket.h" |
16 #include "base/threading/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
17 #include "content/browser/media/capture/audio_mirroring_manager.h" | 18 #include "content/browser/media/capture/audio_mirroring_manager.h" |
18 #include "content/browser/media/media_internals.h" | 19 #include "content/browser/media/media_internals.h" |
19 #include "content/browser/renderer_host/media/audio_input_device_manager.h" | 20 #include "content/browser/renderer_host/media/audio_input_device_manager.h" |
20 #include "content/browser/renderer_host/media/media_stream_manager.h" | 21 #include "content/browser/renderer_host/media/media_stream_manager.h" |
21 #include "content/common/media/audio_messages.h" | 22 #include "content/common/media/audio_messages.h" |
22 #include "content/public/browser/media_device_id.h" | 23 #include "content/public/browser/media_device_id.h" |
23 #include "content/public/common/content_switches.h" | 24 #include "content/public/common/content_switches.h" |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 } | 616 } |
616 | 617 |
617 TEST_F(AudioRendererHostTest, CreateFailsForInvalidRenderFrame) { | 618 TEST_F(AudioRendererHostTest, CreateFailsForInvalidRenderFrame) { |
618 CreateWithInvalidRenderFrameId(); | 619 CreateWithInvalidRenderFrameId(); |
619 Close(); | 620 Close(); |
620 } | 621 } |
621 | 622 |
622 // TODO(hclam): Add tests for data conversation in low latency mode. | 623 // TODO(hclam): Add tests for data conversation in low latency mode. |
623 | 624 |
624 } // namespace content | 625 } // namespace content |
OLD | NEW |