Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: content/renderer/media/webrtc/peer_connection_dependency_factory.cc

Issue 2095393002: Add posciak and wuchengli to WebRTC HW decoder and encoder files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove duplicated owners Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/media/rtc_video_encoder_factory.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 #include "base/threading/thread_task_runner_handle.h" 23 #include "base/threading/thread_task_runner_handle.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "content/common/media/media_stream_messages.h" 25 #include "content/common/media/media_stream_messages.h"
26 #include "content/public/common/content_client.h" 26 #include "content/public/common/content_client.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h" 28 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h"
29 #include "content/public/common/features.h" 29 #include "content/public/common/features.h"
30 #include "content/public/common/renderer_preferences.h" 30 #include "content/public/common/renderer_preferences.h"
31 #include "content/public/common/webrtc_ip_handling_policy.h" 31 #include "content/public/common/webrtc_ip_handling_policy.h"
32 #include "content/public/renderer/content_renderer_client.h" 32 #include "content/public/renderer/content_renderer_client.h"
33 #include "content/renderer/media/gpu/rtc_video_decoder_factory.h"
34 #include "content/renderer/media/gpu/rtc_video_encoder_factory.h"
33 #include "content/renderer/media/media_stream.h" 35 #include "content/renderer/media/media_stream.h"
34 #include "content/renderer/media/media_stream_video_source.h" 36 #include "content/renderer/media/media_stream_video_source.h"
35 #include "content/renderer/media/media_stream_video_track.h" 37 #include "content/renderer/media/media_stream_video_track.h"
36 #include "content/renderer/media/rtc_peer_connection_handler.h" 38 #include "content/renderer/media/rtc_peer_connection_handler.h"
37 #include "content/renderer/media/rtc_video_decoder_factory.h"
38 #include "content/renderer/media/rtc_video_encoder_factory.h"
39 #include "content/renderer/media/webrtc/stun_field_trial.h" 39 #include "content/renderer/media/webrtc/stun_field_trial.h"
40 #include "content/renderer/media/webrtc/webrtc_video_capturer_adapter.h" 40 #include "content/renderer/media/webrtc/webrtc_video_capturer_adapter.h"
41 #include "content/renderer/media/webrtc_audio_device_impl.h" 41 #include "content/renderer/media/webrtc_audio_device_impl.h"
42 #include "content/renderer/media/webrtc_logging.h" 42 #include "content/renderer/media/webrtc_logging.h"
43 #include "content/renderer/media/webrtc_uma_histograms.h" 43 #include "content/renderer/media/webrtc_uma_histograms.h"
44 #include "content/renderer/p2p/empty_network_manager.h" 44 #include "content/renderer/p2p/empty_network_manager.h"
45 #include "content/renderer/p2p/filtering_network_manager.h" 45 #include "content/renderer/p2p/filtering_network_manager.h"
46 #include "content/renderer/p2p/ipc_network_manager.h" 46 #include "content/renderer/p2p/ipc_network_manager.h"
47 #include "content/renderer/p2p/ipc_socket_factory.h" 47 #include "content/renderer/p2p/ipc_socket_factory.h"
48 #include "content/renderer/p2p/port_allocator.h" 48 #include "content/renderer/p2p/port_allocator.h"
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 576
577 void PeerConnectionDependencyFactory::EnsureWebRtcAudioDeviceImpl() { 577 void PeerConnectionDependencyFactory::EnsureWebRtcAudioDeviceImpl() {
578 DCHECK(CalledOnValidThread()); 578 DCHECK(CalledOnValidThread());
579 if (audio_device_.get()) 579 if (audio_device_.get())
580 return; 580 return;
581 581
582 audio_device_ = new WebRtcAudioDeviceImpl(); 582 audio_device_ = new WebRtcAudioDeviceImpl();
583 } 583 }
584 584
585 } // namespace content 585 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_video_encoder_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698