Index: webrtc/p2p/base/p2ptransportchannel.h |
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h |
index a0b3a3ef5f91102c3626518b15c8645fab757218..fc22b2089af49e7ca972fbfdb9a1355bf1af5479 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(); |