[TurnPort] Update CreateOrRefreshEntry function, step 2.

This removes the deprecated method in favor of the new one
introduced in
https://webrtc-review.googlesource.com/c/src/+/279440

Bug: chromium:1374310
Change-Id: I662d5cad9a48d18d9425e4d2754a966df68f7056
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/279441
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38411}
This commit is contained in:
Tommi
2022-10-17 10:39:01 +02:00
committed by WebRTC LUCI CQ
parent bb9b6d1b32
commit 3c5a1bf8f3
2 changed files with 0 additions and 8 deletions

View File

@ -1207,11 +1207,6 @@ bool TurnPort::EntryExists(TurnEntry* e) {
return absl::c_linear_search(entries_, e);
}
bool TurnPort::CreateOrRefreshEntry(const rtc::SocketAddress& addr,
int channel_number) {
return CreateOrRefreshEntry(addr, channel_number, "");
}
bool TurnPort::CreateOrRefreshEntry(Connection* conn, int channel_number) {
return CreateOrRefreshEntry(conn->remote_candidate().address(),
channel_number,

View File

@ -231,9 +231,6 @@ class TurnPort : public Port {
// NOTE: This method needs to be accessible for StunPort
// return true if entry was created (i.e channel_number consumed).
// TODO(tommi): Remove this method in favor of the one that accepts a
// `Connection` pointer.
bool CreateOrRefreshEntry(const rtc::SocketAddress& addr, int channel_number);
bool CreateOrRefreshEntry(Connection* conn, int channel_number);
bool CreateOrRefreshEntry(const rtc::SocketAddress& addr,