Index: webrtc/p2p/base/p2ptransportchannel.h |
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h |
index 286a547e38b70eb11e3eed97b1bae5a201f5aaf4..335ee7d166205040c24b3cb0a74dc12bec59ca97 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.h |
+++ b/webrtc/p2p/base/p2ptransportchannel.h |
@@ -211,7 +211,7 @@ class P2PTransportChannel : public TransportChannelImpl, |
void OnReadyToSend(Connection* connection); |
void OnConnectionDestroyed(Connection *connection); |
- void OnUseCandidate(Connection* conn); |
+ void OnNominated(Connection* conn); |
virtual void OnMessage(rtc::Message *pmsg); |
void OnSort(); |
@@ -219,6 +219,9 @@ class P2PTransportChannel : public TransportChannelImpl, |
void OnCheckReceiving(); |
+ void PruneConnections(); |
+ Connection* best_nominated_connection() const; |
+ |
P2PTransport* transport_; |
PortAllocator *allocator_; |
rtc::Thread *worker_thread_; |