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

Side by Side Diff: webrtc/api/webrtcsession.h

Issue 2386783002: Add UMA metrics for ICE regathering reasons. (Closed)
Patch Set: Add const to the pooled_sessions method. Created 4 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 | « webrtc/api/umametrics.h ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate); 286 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate);
287 void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp); 287 void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp);
288 288
289 // For unit test. 289 // For unit test.
290 bool waiting_for_certificate_for_testing() const; 290 bool waiting_for_certificate_for_testing() const;
291 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate_for_testing(); 291 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate_for_testing();
292 292
293 void set_metrics_observer( 293 void set_metrics_observer(
294 webrtc::MetricsObserverInterface* metrics_observer) { 294 webrtc::MetricsObserverInterface* metrics_observer) {
295 metrics_observer_ = metrics_observer; 295 metrics_observer_ = metrics_observer;
296 transport_controller_->SetMetricsObserver(metrics_observer);
296 } 297 }
297 298
298 // Called when voice_channel_, video_channel_ and data_channel_ are created 299 // Called when voice_channel_, video_channel_ and data_channel_ are created
299 // and destroyed. As a result of, for example, setting a new description. 300 // and destroyed. As a result of, for example, setting a new description.
300 sigslot::signal0<> SignalVoiceChannelCreated; 301 sigslot::signal0<> SignalVoiceChannelCreated;
301 sigslot::signal0<> SignalVoiceChannelDestroyed; 302 sigslot::signal0<> SignalVoiceChannelDestroyed;
302 sigslot::signal0<> SignalVideoChannelCreated; 303 sigslot::signal0<> SignalVideoChannelCreated;
303 sigslot::signal0<> SignalVideoChannelDestroyed; 304 sigslot::signal0<> SignalVideoChannelDestroyed;
304 sigslot::signal0<> SignalDataChannelCreated; 305 sigslot::signal0<> SignalDataChannelCreated;
305 sigslot::signal0<> SignalDataChannelDestroyed; 306 sigslot::signal0<> SignalDataChannelDestroyed;
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 520
520 #ifdef HAVE_QUIC 521 #ifdef HAVE_QUIC
521 std::unique_ptr<QuicDataTransport> quic_data_transport_; 522 std::unique_ptr<QuicDataTransport> quic_data_transport_;
522 #endif // HAVE_QUIC 523 #endif // HAVE_QUIC
523 524
524 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 525 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
525 }; 526 };
526 } // namespace webrtc 527 } // namespace webrtc
527 528
528 #endif // WEBRTC_API_WEBRTCSESSION_H_ 529 #endif // WEBRTC_API_WEBRTCSESSION_H_
OLDNEW
« no previous file with comments | « webrtc/api/umametrics.h ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698