diff --git a/p2p/base/port.cc b/p2p/base/port.cc index 0f2b2c668b..035d3d4bb3 100644 --- a/p2p/base/port.cc +++ b/p2p/base/port.cc @@ -254,20 +254,6 @@ Connection* Port::GetConnection(const rtc::SocketAddress& remote_addr) { return NULL; } -void Port::AddAddress(const rtc::SocketAddress& address, - const rtc::SocketAddress& base_address, - const rtc::SocketAddress& related_address, - const std::string& protocol, - const std::string& relay_protocol, - const std::string& tcptype, - const std::string& type, - uint32_t type_preference, - uint32_t relay_preference, - bool is_final) { - AddAddress(address, base_address, related_address, protocol, relay_protocol, - tcptype, type, type_preference, relay_preference, "", is_final); -} - void Port::AddAddress(const rtc::SocketAddress& address, const rtc::SocketAddress& base_address, const rtc::SocketAddress& related_address, diff --git a/p2p/base/port.h b/p2p/base/port.h index bf1c041423..893e80b20f 100644 --- a/p2p/base/port.h +++ b/p2p/base/port.h @@ -370,19 +370,6 @@ class Port : public PortInterface, void set_type(const std::string& type) { type_ = type; } - // Deprecated. Use the AddAddress() method below with "url" instead. - // TODO(zhihuang): Remove this after downstream applications stop using it. - void AddAddress(const rtc::SocketAddress& address, - const rtc::SocketAddress& base_address, - const rtc::SocketAddress& related_address, - const std::string& protocol, - const std::string& relay_protocol, - const std::string& tcptype, - const std::string& type, - uint32_t type_preference, - uint32_t relay_preference, - bool is_final); - void AddAddress(const rtc::SocketAddress& address, const rtc::SocketAddress& base_address, const rtc::SocketAddress& related_address,