| 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 "base/win/scoped_com_initializer.h" | 14 #include "base/win/scoped_com_initializer.h" |
| 15 #include "content/browser/mock_resource_context.h" | 15 #include "content/browser/mock_resource_context.h" |
| 16 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" | 16 #include "content/browser/renderer_host/media/audio_input_renderer_host.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/browser/resource_context.h" | |
| 21 #include "content/common/view_messages.h" | 20 #include "content/common/view_messages.h" |
| 22 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| 23 #include "content/public/common/content_paths.h" | 22 #include "content/public/common/content_paths.h" |
| 24 #include "content/renderer/media/audio_hardware.h" | 23 #include "content/renderer/media/audio_hardware.h" |
| 25 #include "content/renderer/media/webrtc_audio_device_impl.h" | 24 #include "content/renderer/media/webrtc_audio_device_impl.h" |
| 26 #include "content/renderer/render_process.h" | 25 #include "content/renderer/render_process.h" |
| 27 #include "content/renderer/render_thread_impl.h" | 26 #include "content/renderer/render_thread_impl.h" |
| 28 #include "content/test/test_browser_thread.h" | 27 #include "content/test/test_browser_thread.h" |
| 29 #include "net/url_request/url_request_test_util.h" | 28 #include "net/url_request/url_request_test_util.h" |
| 30 #include "testing/gmock/include/gmock/gmock.h" | 29 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 WebRTCTransportImpl::~WebRTCTransportImpl() {} | 318 WebRTCTransportImpl::~WebRTCTransportImpl() {} |
| 320 | 319 |
| 321 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { | 320 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { |
| 322 return network_->ReceivedRTPPacket(channel, data, len); | 321 return network_->ReceivedRTPPacket(channel, data, len); |
| 323 } | 322 } |
| 324 | 323 |
| 325 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, | 324 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, |
| 326 int len) { | 325 int len) { |
| 327 return network_->ReceivedRTCPPacket(channel, data, len); | 326 return network_->ReceivedRTCPPacket(channel, data, len); |
| 328 } | 327 } |
| OLD | NEW |