| 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_; }
|
|
|