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/message_loop.h" | 11 #include "base/message_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/renderer_host/media/audio_input_renderer_host.h" | 14 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
15 #include "content/browser/renderer_host/media/audio_renderer_host.h" | 15 #include "content/browser/renderer_host/media/audio_renderer_host.h" |
16 #include "content/browser/renderer_host/media/media_stream_manager.h" | 16 #include "content/browser/renderer_host/media/media_stream_manager.h" |
17 #include "content/browser/renderer_host/media/mock_media_observer.h" | 17 #include "content/browser/renderer_host/media/mock_media_observer.h" |
18 #include "content/common/view_messages.h" | 18 #include "content/common/view_messages.h" |
19 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
20 #include "content/public/common/content_paths.h" | 20 #include "content/public/common/content_paths.h" |
21 #include "content/public/test/mock_resource_context.h" | 21 #include "content/public/test/mock_resource_context.h" |
22 #include "content/public/test/test_browser_thread.h" | 22 #include "content/public/test/test_browser_thread.h" |
23 #include "content/renderer/media/audio_device_factory.h" | |
24 #include "content/renderer/media/audio_hardware.h" | 23 #include "content/renderer/media/audio_hardware.h" |
25 #include "content/renderer/media/audio_input_message_filter.h" | 24 #include "content/renderer/media/audio_input_message_filter.h" |
26 #include "content/renderer/media/audio_message_filter.h" | 25 #include "content/renderer/media/audio_message_filter.h" |
27 #include "content/renderer/media/webrtc_audio_device_impl.h" | 26 #include "content/renderer/media/webrtc_audio_device_impl.h" |
28 #include "content/renderer/render_process.h" | 27 #include "content/renderer/render_process.h" |
29 #include "content/renderer/render_thread_impl.h" | 28 #include "content/renderer/render_thread_impl.h" |
30 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 29 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
31 #include "net/url_request/url_request_test_util.h" | 30 #include "net/url_request/url_request_test_util.h" |
32 #include "testing/gmock/include/gmock/gmock.h" | 31 #include "testing/gmock/include/gmock/gmock.h" |
33 #include "testing/gtest/include/gtest/gtest.h" | 32 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { | 365 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { |
367 return network_->ReceivedRTPPacket(channel, data, len); | 366 return network_->ReceivedRTPPacket(channel, data, len); |
368 } | 367 } |
369 | 368 |
370 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, | 369 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, |
371 int len) { | 370 int len) { |
372 return network_->ReceivedRTCPPacket(channel, data, len); | 371 return network_->ReceivedRTCPPacket(channel, data, len); |
373 } | 372 } |
374 | 373 |
375 } // namespace content | 374 } // namespace content |
OLD | NEW |