Index: webrtc/p2p/base/icetransportinternal.h |
diff --git a/webrtc/p2p/base/icetransportinternal.h b/webrtc/p2p/base/icetransportinternal.h |
index 0ac7974f1de92db2f2bdd74ffeb0d9c9f6820cb1..05939629f85d41db04300d66afee0609a07188be 100644 |
--- a/webrtc/p2p/base/icetransportinternal.h |
+++ b/webrtc/p2p/base/icetransportinternal.h |
@@ -25,11 +25,7 @@ |
namespace cricket { |
-class IceTransportInternal; |
-typedef IceTransportInternal IceTransportInternal2; |
- |
-// TODO(zhihuang): Replace this with |
-// PeerConnectionInterface::IceConnectionState. |
+// TODO(zhihuang): replace it with PeerConnectionInterface::IceConnectionState. |
enum class IceTransportState { |
STATE_INIT, |
STATE_CONNECTING, // Will enter this state once a connection is created |
@@ -138,7 +134,7 @@ |
sigslot::signal1<IceTransportInternal*> SignalDestroyed; |
// Debugging description of this transport. |
- std::string debug_name() const override { |
+ const std::string debug_name() const override { |
return transport_name() + " " + std::to_string(component()); |
} |
}; |