Index: webrtc/p2p/base/transportchannelimpl.h |
diff --git a/webrtc/p2p/base/transportchannelimpl.h b/webrtc/p2p/base/transportchannelimpl.h |
index 70cb4e292f615fbba1d91316139c1649a6d9574f..59065a10a8258d93e1416588ff38f187036e2441 100644 |
--- a/webrtc/p2p/base/transportchannelimpl.h |
+++ b/webrtc/p2p/base/transportchannelimpl.h |
@@ -46,7 +46,7 @@ class TransportChannelImpl : public TransportChannel { |
virtual void SetIceProtocolType(IceProtocolType type) {} |
// SetIceCredentials only need to be implemented by the ICE |
// transport channels. Non-ICE transport channels can just ignore. |
- // The ufrag and pwd should be set before the Connect() is called. |
+ // The ufrag and pwd must be set before candidate gathering can start. |
virtual void SetIceCredentials(const std::string& ice_ufrag, |
const std::string& ice_pwd) = 0; |
// SetRemoteIceCredentials only need to be implemented by the ICE |
@@ -59,9 +59,6 @@ class TransportChannelImpl : public TransportChannel { |
virtual void SetIceConfig(const IceConfig& config) = 0; |
- // Begins the process of attempting to make a connection to the other client. |
- virtual void Connect() = 0; |
- |
// Start gathering candidates if not already started, or if an ICE restart |
// occurred. |
virtual void MaybeStartGathering() = 0; |