diff options
author | Kennan Gumbs <kennangumbs@google.com> | 2021-07-08 19:05:17 -0400 |
---|---|---|
committer | Openscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-07-14 00:57:52 +0000 |
commit | 01c7cc260a28bc0a814249f41825b35e021be271 (patch) | |
tree | 334ed8522cec70ca892bca048f2f58bb673f810f | |
parent | 6375750126e56ea7ac4c2ba387a64cbba4d252ba (diff) | |
download | openscreen-01c7cc260a28bc0a814249f41825b35e021be271.tar.gz |
Remove default implementation of GetLocalEndpoint
Currently there is a default implementation of the GetLocalEndpoint
method in tls_connection.h. Since all usages of this method have been
removed, it can now be removed entirely.
Bug: b/190833411
Change-Id: Ie7f4e827c5c8ebf40f761a69f77c28c058180e86
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3017255
Commit-Queue: Jordan Bayles <jophba@chromium.org>
Reviewed-by: Jordan Bayles <jophba@chromium.org>
-rw-r--r-- | platform/api/tls_connection.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/api/tls_connection.h b/platform/api/tls_connection.h index 2be6535f..3da1e7e6 100644 --- a/platform/api/tls_connection.h +++ b/platform/api/tls_connection.h @@ -40,9 +40,6 @@ class TlsConnection { // Sends a message. Returns true iff the message will be sent. [[nodiscard]] virtual bool Send(const void* data, size_t len) = 0; - // Get the local address. - virtual IPEndpoint GetLocalEndpoint() const { return IPEndpoint(); } - // Get the connected remote address. virtual IPEndpoint GetRemoteEndpoint() const = 0; |