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

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

Issue 1417663004: Create an experiment to study whether too many bindings cause NAT failure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update UMA name in code to match with histograms.xml Created 5 years, 1 month 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
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 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // We own network_manager_, must be deleted on the worker thread. 201 // We own network_manager_, must be deleted on the worker thread.
202 // The network manager uses |p2p_socket_dispatcher_|. 202 // The network manager uses |p2p_socket_dispatcher_|.
203 IpcNetworkManager* network_manager_; 203 IpcNetworkManager* network_manager_;
204 scoped_ptr<IpcPacketSocketFactory> socket_factory_; 204 scoped_ptr<IpcPacketSocketFactory> socket_factory_;
205 205
206 scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_; 206 scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_;
207 207
208 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 208 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
209 scoped_refptr<WebRtcAudioDeviceImpl> audio_device_; 209 scoped_refptr<WebRtcAudioDeviceImpl> audio_device_;
210 210
211 scoped_ptr<stunprober::StunProber> stun_prober_; 211 scoped_ptr<StunProberTrial> stun_trial_;
212 212
213 // PeerConnection threads. signaling_thread_ is created from the 213 // PeerConnection threads. signaling_thread_ is created from the
214 // "current" chrome thread. 214 // "current" chrome thread.
215 rtc::Thread* signaling_thread_; 215 rtc::Thread* signaling_thread_;
216 rtc::Thread* worker_thread_; 216 rtc::Thread* worker_thread_;
217 base::Thread chrome_signaling_thread_; 217 base::Thread chrome_signaling_thread_;
218 base::Thread chrome_worker_thread_; 218 base::Thread chrome_worker_thread_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory); 220 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory);
221 }; 221 };
222 222
223 } // namespace content 223 } // namespace content
224 224
225 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 225 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698