| 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/test/webrtc_audio_device_test.h" | 5 #include "content/test/webrtc_audio_device_test.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 13 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
| 14 #include "content/browser/media/capture/audio_mirroring_manager.h" |
| 14 #include "content/browser/media/media_internals.h" | 15 #include "content/browser/media/media_internals.h" |
| 15 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" | 16 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
| 16 #include "content/browser/renderer_host/media/audio_mirroring_manager.h" | |
| 17 #include "content/browser/renderer_host/media/audio_renderer_host.h" | 17 #include "content/browser/renderer_host/media/audio_renderer_host.h" |
| 18 #include "content/browser/renderer_host/media/media_stream_manager.h" | 18 #include "content/browser/renderer_host/media/media_stream_manager.h" |
| 19 #include "content/browser/renderer_host/media/mock_media_observer.h" | 19 #include "content/browser/renderer_host/media/mock_media_observer.h" |
| 20 #include "content/common/media/media_param_traits.h" | 20 #include "content/common/media/media_param_traits.h" |
| 21 #include "content/common/view_messages.h" | 21 #include "content/common/view_messages.h" |
| 22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
| 23 #include "content/public/browser/resource_context.h" | 23 #include "content/public/browser/resource_context.h" |
| 24 #include "content/public/common/content_paths.h" | 24 #include "content/public/common/content_paths.h" |
| 25 #include "content/public/test/test_browser_thread.h" | 25 #include "content/public/test/test_browser_thread.h" |
| 26 #include "content/renderer/media/audio_input_message_filter.h" | 26 #include "content/renderer/media/audio_input_message_filter.h" |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { | 445 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { |
| 446 return network_->ReceivedRTPPacket(channel, data, len); | 446 return network_->ReceivedRTPPacket(channel, data, len); |
| 447 } | 447 } |
| 448 | 448 |
| 449 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, | 449 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, |
| 450 int len) { | 450 int len) { |
| 451 return network_->ReceivedRTCPPacket(channel, data, len); | 451 return network_->ReceivedRTCPPacket(channel, data, len); |
| 452 } | 452 } |
| 453 | 453 |
| 454 } // namespace content | 454 } // namespace content |
| OLD | NEW |