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

Side by Side Diff: webrtc/p2p/base/jseptransport.cc

Issue 2719523002: RTCIceCandidatePairStats.[total/current]RoundTripTime collected. (Closed)
Patch Set: EXPECT_EQ(expected, actual) Created 3 years, 9 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/jseptransport.h ('k') | webrtc/p2p/base/port.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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 sent_ping_requests_total(0), 54 sent_ping_requests_total(0),
55 sent_ping_requests_before_first_response(0), 55 sent_ping_requests_before_first_response(0),
56 sent_ping_responses(0), 56 sent_ping_responses(0),
57 recv_total_bytes(0), 57 recv_total_bytes(0),
58 recv_bytes_second(0), 58 recv_bytes_second(0),
59 recv_ping_requests(0), 59 recv_ping_requests(0),
60 recv_ping_responses(0), 60 recv_ping_responses(0),
61 key(nullptr), 61 key(nullptr),
62 state(IceCandidatePairState::WAITING), 62 state(IceCandidatePairState::WAITING),
63 priority(0), 63 priority(0),
64 nominated(false) {} 64 nominated(false),
65 total_round_trip_time_ms(0) {}
65 66
66 bool BadTransportDescription(const std::string& desc, std::string* err_desc) { 67 bool BadTransportDescription(const std::string& desc, std::string* err_desc) {
67 if (err_desc) { 68 if (err_desc) {
68 *err_desc = desc; 69 *err_desc = desc;
69 } 70 }
70 LOG(LS_ERROR) << desc; 71 LOG(LS_ERROR) << desc;
71 return false; 72 return false;
72 } 73 }
73 74
74 bool IceCredentialsChanged(const std::string& old_ufrag, 75 bool IceCredentialsChanged(const std::string& old_ufrag,
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 485 }
485 486
486 // If local is passive, local will act as server. 487 // If local is passive, local will act as server.
487 } 488 }
488 489
489 *ssl_role = is_remote_server ? rtc::SSL_CLIENT : rtc::SSL_SERVER; 490 *ssl_role = is_remote_server ? rtc::SSL_CLIENT : rtc::SSL_SERVER;
490 return true; 491 return true;
491 } 492 }
492 493
493 } // namespace cricket 494 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/jseptransport.h ('k') | webrtc/p2p/base/port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698