diff options
author | Tommi <tommi@webrtc.org> | 2022-04-14 14:35:28 +0200 |
---|---|---|
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-14 14:07:29 +0000 |
commit | 8f9b44ba38c134e1c69126196e4d9e566ca5d5e3 (patch) | |
tree | 84cd29ba64b0a82957d0a03b027923bd2685044e /p2p | |
parent | 21f12d592aa9ebe8505b9b42e43b86ea59c4f2b3 (diff) | |
download | webrtc-8f9b44ba38c134e1c69126196e4d9e566ca5d5e3.tar.gz |
Remove unused SignalConnectionCreated
Bug: webrtc:11943
Change-Id: I787f200c3506a70788537cc05bff4e938ed2136d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258982
Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36552}
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/base/port.cc | 1 | ||||
-rw-r--r-- | p2p/base/port.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/p2p/base/port.cc b/p2p/base/port.cc index 4a7daaffec..3bd09dc024 100644 --- a/p2p/base/port.cc +++ b/p2p/base/port.cc @@ -357,7 +357,6 @@ void Port::AddOrReplaceConnection(Connection* conn) { ret.first->second = conn; } conn->SignalDestroyed.connect(this, &Port::OnConnectionDestroyed); - SignalConnectionCreated(this, conn); } void Port::OnReadPacket(const char* data, diff --git a/p2p/base/port.h b/p2p/base/port.h index b2aa9b243f..33e9a53787 100644 --- a/p2p/base/port.h +++ b/p2p/base/port.h @@ -293,9 +293,6 @@ class Port : public PortInterface, // Returns the connection to the given address or NULL if none exists. Connection* GetConnection(const rtc::SocketAddress& remote_addr) override; - // Called each time a connection is created. - sigslot::signal2<Port*, Connection*> SignalConnectionCreated; - // In a shared socket mode each port which shares the socket will decide // to accept the packet based on the `remote_addr`. Currently only UDP // port implemented this method. |