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

Unified Diff: webrtc/p2p/base/transport.h

Issue 1231913003: Add methods to set the ICE connection receiving_timeout values. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Address comments Created 5 years, 5 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/session_unittest.cc ('k') | webrtc/p2p/base/transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/transport.h
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h
index 2230b9fe8a9bd607412b229f9dc236d572a5b0e2..6064bdb54db257c978b6edeaa1f4613b9cd9641f 100644
--- a/webrtc/p2p/base/transport.h
+++ b/webrtc/p2p/base/transport.h
@@ -200,6 +200,8 @@ class Transport : public rtc::MessageHandler,
void SetIceTiebreaker(uint64 IceTiebreaker) { tiebreaker_ = IceTiebreaker; }
uint64 IceTiebreaker() { return tiebreaker_; }
+ void SetChannelReceivingTimeout(int timeout_ms);
+
// Must be called before applying local session description.
void SetIdentity(rtc::SSLIdentity* identity);
@@ -438,6 +440,8 @@ class Transport : public rtc::MessageHandler,
bool GetStats_w(TransportStats* infos);
bool GetRemoteCertificate_w(rtc::SSLCertificate** cert);
+ void SetChannelReceivingTimeout_w(int timeout_ms);
+
// Sends SignalCompleted if we are now in that state.
void MaybeCompleted_w();
@@ -456,6 +460,7 @@ class Transport : public rtc::MessageHandler,
uint64 tiebreaker_;
TransportProtocol protocol_;
IceMode remote_ice_mode_;
+ int channel_receiving_timeout_;
rtc::scoped_ptr<TransportDescription> local_description_;
rtc::scoped_ptr<TransportDescription> remote_description_;
« no previous file with comments | « webrtc/p2p/base/session_unittest.cc ('k') | webrtc/p2p/base/transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698