OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/renderer/media/webrtc/peer_connection_dependency_factory.h" | 5 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "content/renderer/media/webrtc_audio_device_impl.h" | 29 #include "content/renderer/media/webrtc_audio_device_impl.h" |
30 #include "content/renderer/media/webrtc_local_audio_track.h" | 30 #include "content/renderer/media/webrtc_local_audio_track.h" |
31 #include "content/renderer/media/webrtc_logging.h" | 31 #include "content/renderer/media/webrtc_logging.h" |
32 #include "content/renderer/media/webrtc_uma_histograms.h" | 32 #include "content/renderer/media/webrtc_uma_histograms.h" |
33 #include "content/renderer/p2p/ipc_network_manager.h" | 33 #include "content/renderer/p2p/ipc_network_manager.h" |
34 #include "content/renderer/p2p/ipc_socket_factory.h" | 34 #include "content/renderer/p2p/ipc_socket_factory.h" |
35 #include "content/renderer/p2p/port_allocator.h" | 35 #include "content/renderer/p2p/port_allocator.h" |
36 #include "content/renderer/render_thread_impl.h" | 36 #include "content/renderer/render_thread_impl.h" |
37 #include "content/renderer/render_view_impl.h" | 37 #include "content/renderer/render_view_impl.h" |
38 #include "jingle/glue/thread_wrapper.h" | 38 #include "jingle/glue/thread_wrapper.h" |
39 #include "media/filters/gpu_video_accelerator_factories.h" | 39 #include "media/renderers/gpu_video_accelerator_factories.h" |
40 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" | 40 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" |
41 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 41 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
42 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 42 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
43 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 43 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
44 #include "third_party/WebKit/public/platform/WebURL.h" | 44 #include "third_party/WebKit/public/platform/WebURL.h" |
45 #include "third_party/WebKit/public/web/WebDocument.h" | 45 #include "third_party/WebKit/public/web/WebDocument.h" |
46 #include "third_party/WebKit/public/web/WebFrame.h" | 46 #include "third_party/WebKit/public/web/WebFrame.h" |
47 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" | 47 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" |
48 | 48 |
49 #if defined(USE_OPENSSL) | 49 #if defined(USE_OPENSSL) |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 } | 639 } |
640 | 640 |
641 void PeerConnectionDependencyFactory::EnsureWebRtcAudioDeviceImpl() { | 641 void PeerConnectionDependencyFactory::EnsureWebRtcAudioDeviceImpl() { |
642 if (audio_device_.get()) | 642 if (audio_device_.get()) |
643 return; | 643 return; |
644 | 644 |
645 audio_device_ = new WebRtcAudioDeviceImpl(); | 645 audio_device_ = new WebRtcAudioDeviceImpl(); |
646 } | 646 } |
647 | 647 |
648 } // namespace content | 648 } // namespace content |
OLD | NEW |