Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 65932b9c9f0f400636fca9f558a2bc04b68456de..00e08018618a44f61513df57e50a12514967a5c1 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -523,6 +523,10 @@ class Connection : public CandidatePairInterface, |
// Makes the connection go away, in a failed state. |
void FailAndDestroy(); |
+ // Prunes the connection and sets its state to STATE_FAILED, |
+ // It will not be used or pinged except that it can still receive packets. |
pthatcher1
2016/06/22 18:43:34
I will not be used or send pings, right? "be ping
|
+ void FailAndPrune(); |
+ |
// Checks that the state of this connection is up-to-date. The argument is |
// the current time, which is compared against various timeouts. |
void UpdateState(int64_t now); |