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

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

Issue 1227843006: Fix webrtc FYI waterfall issues. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Plus, have a default implementation of SetIceConnectionTimeout 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 | « talk/app/webrtc/peerconnectioninterface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index b8ad5e23bc29b7d002e57e6c2c3a91841c2cc88d..926de95a3bffed498bb8291ed4bd80a99cb048e3 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -73,6 +73,9 @@ class P2PTransportChannel : public TransportChannelImpl,
virtual void Connect();
virtual void OnSignalingReady();
virtual void OnCandidate(const Candidate& candidate);
+ // Sets the receiving timeout in milliseconds.
+ // This also sets the check_receiving_delay proportionally.
+ virtual void SetReceivingTimeout(int receiving_timeout_ms);
// From TransportChannel:
virtual int SendPacket(const char *data, size_t len,
@@ -85,10 +88,6 @@ class P2PTransportChannel : public TransportChannelImpl,
const Connection* best_connection() const { return best_connection_; }
void set_incoming_only(bool value) { incoming_only_ = value; }
- // Sets the receiving timeout in milliseconds.
- // This also sets the check_receiving_delay proportionally.
- void SetReceivingTimeout(int receiving_timeout_ms) override;
-
// Note: This is only for testing purpose.
// |ports_| should not be changed from outside.
const std::vector<PortInterface*>& ports() { return ports_; }
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698