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

Side by Side Diff: webrtc/p2p/base/faketransportcontroller.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/p2p/base/dtlstransportchannel.h ('k') | webrtc/p2p/base/p2ptransportchannel.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 2009 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2009 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 return true; 286 return true;
287 } 287 }
288 288
289 void set_ssl_max_protocol_version(rtc::SSLProtocolVersion version) { 289 void set_ssl_max_protocol_version(rtc::SSLProtocolVersion version) {
290 ssl_max_version_ = version; 290 ssl_max_version_ = version;
291 } 291 }
292 rtc::SSLProtocolVersion ssl_max_protocol_version() const { 292 rtc::SSLProtocolVersion ssl_max_protocol_version() const {
293 return ssl_max_version_; 293 return ssl_max_version_;
294 } 294 }
295 295
296 void SetMetricsObserver(webrtc::MetricsObserverInterface* observer) override {
297 }
298
296 private: 299 private:
297 void NegotiateSrtpCiphers() { 300 void NegotiateSrtpCiphers() {
298 for (std::vector<int>::const_iterator it1 = srtp_ciphers_.begin(); 301 for (std::vector<int>::const_iterator it1 = srtp_ciphers_.begin();
299 it1 != srtp_ciphers_.end(); ++it1) { 302 it1 != srtp_ciphers_.end(); ++it1) {
300 for (std::vector<int>::const_iterator it2 = dest_->srtp_ciphers_.begin(); 303 for (std::vector<int>::const_iterator it2 = dest_->srtp_ciphers_.begin();
301 it2 != dest_->srtp_ciphers_.end(); ++it2) { 304 it2 != dest_->srtp_ciphers_.end(); ++it2) {
302 if (*it1 == *it2) { 305 if (*it1 == *it2) {
303 chosen_crypto_suite_ = *it1; 306 chosen_crypto_suite_ = *it1;
304 return; 307 return;
305 } 308 }
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 } 604 }
602 } 605 }
603 606
604 private: 607 private:
605 bool fail_create_channel_; 608 bool fail_create_channel_;
606 }; 609 };
607 610
608 } // namespace cricket 611 } // namespace cricket
609 612
610 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_ 613 #endif // WEBRTC_P2P_BASE_FAKETRANSPORTCONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/dtlstransportchannel.h ('k') | webrtc/p2p/base/p2ptransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698