Remove the version of Port::AddrAddress without a URL parameter.
This version of the method is deprecated in favor of the one that takes an url parameter. Bug: webrtc:10198 Change-Id: I7614b9cb98217663b0e2fbf1785ae1fb1484beec Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173333 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31068}
This commit is contained in:

committed by
Commit Bot

parent
b9d468573a
commit
c4633fd861
@ -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,
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user