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

Side by Side Diff: content/renderer/media/rtc_peer_connection_handler.h

Issue 600163004: Add two UMA counters for IPv4 and IPv6 local candidates gathered in WebRTC PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the tracking of previous ice gathering state. Created 6 years, 2 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 | « no previous file | content/renderer/media/rtc_peer_connection_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 ScopedVector<WebRtcMediaStreamAdapter> local_streams_; 212 ScopedVector<WebRtcMediaStreamAdapter> local_streams_;
213 213
214 PeerConnectionTracker* peer_connection_tracker_; 214 PeerConnectionTracker* peer_connection_tracker_;
215 215
216 MediaStreamTrackMetrics track_metrics_; 216 MediaStreamTrackMetrics track_metrics_;
217 217
218 // Counter for a UMA stat reported at destruction time. 218 // Counter for a UMA stat reported at destruction time.
219 int num_data_channels_created_; 219 int num_data_channels_created_;
220 220
221 // Counter for number of IPv4 and IPv6 local candidates.
222 int num_local_candidates_ipv4_;
223 int num_local_candidates_ipv6_;
224
221 // |native_peer_connection_| is the libjingle native PeerConnection object. 225 // |native_peer_connection_| is the libjingle native PeerConnection object.
222 scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_; 226 scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_;
223 227
224 typedef std::map<webrtc::MediaStreamInterface*, 228 typedef std::map<webrtc::MediaStreamInterface*,
225 content::RemoteMediaStreamImpl*> RemoteStreamMap; 229 content::RemoteMediaStreamImpl*> RemoteStreamMap;
226 RemoteStreamMap remote_streams_; 230 RemoteStreamMap remote_streams_;
227 scoped_refptr<webrtc::UMAObserver> uma_observer_; 231 scoped_refptr<webrtc::UMAObserver> uma_observer_;
228 base::TimeTicks ice_connection_checking_start_; 232 base::TimeTicks ice_connection_checking_start_;
229 233
230 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); 234 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler);
231 }; 235 };
232 236
233 } // namespace content 237 } // namespace content
234 238
235 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 239 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/rtc_peer_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698