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

Unified Diff: webrtc/p2p/base/p2ptransportchannel.cc

Issue 2671903002: Revert of Pick the DTLS handshake timeout based on the ICE RTT estimate (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel.h ('k') | webrtc/p2p/base/p2ptransportchannel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/p2ptransportchannel.cc
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
index 2c7d9211130f4d8374d4f28ca8c57c6c0d486f5e..f47f03bbd64f7276e7887f152941539799c80c22 100644
--- a/webrtc/p2p/base/p2ptransportchannel.cc
+++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -274,15 +274,6 @@
IceTransportState P2PTransportChannel::GetState() const {
return state_;
-}
-
-rtc::Optional<int> P2PTransportChannel::GetRttEstimate() {
- if (selected_connection_ != nullptr
- && selected_connection_->rtt_samples() > 0) {
- return rtc::Optional<int>(selected_connection_->rtt());
- } else {
- return rtc::Optional<int>();
- }
}
// A channel is considered ICE completed once there is at most one active
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel.h ('k') | webrtc/p2p/base/p2ptransportchannel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698