Index: webrtc/p2p/base/p2ptransportchannel.h |
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h |
index f6021615f083e19ea0684355e7c884a4a56eaea9..f9347d72e5fa3e0a1aa6dad32b85fa3667ad98c6 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.h |
+++ b/webrtc/p2p/base/p2ptransportchannel.h |
@@ -212,6 +212,8 @@ class P2PTransportChannel : public TransportChannelImpl, |
// A transport channel is weak if the current best connection is either |
// not receiving or not writable, or if there is no best connection at all. |
bool weak() const; |
+ // Returns true if it's possible to send packets on this channel. |
+ bool ReadyToSend() const; |
void UpdateConnectionStates(); |
void RequestSort(); |