diff --git a/api/DEPS b/api/DEPS index 4f62ec618e..b07180e763 100644 --- a/api/DEPS +++ b/api/DEPS @@ -195,14 +195,6 @@ specific_include_rules = { "+rtc_base/thread_annotations.h", ], - "wrapping_async_dns_resolver\.h": [ - "+rtc_base/async_resolver.h", - "+rtc_base/async_resolver_interface.h", - "+rtc_base/socket_address.h", - "+rtc_base/third_party/sigslot/sigslot.h", - "+rtc_base/thread_annotations.h", - ], - "video_encoder_factory_template.*\.h": [ "+modules/video_coding", ], diff --git a/api/wrapping_async_dns_resolver.cc b/api/wrapping_async_dns_resolver.cc deleted file mode 100644 index 866cb0076d..0000000000 --- a/api/wrapping_async_dns_resolver.cc +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2021 The WebRTC Project Authors. All rights reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#include "api/wrapping_async_dns_resolver.h" - -namespace webrtc { - -bool WrappingAsyncDnsResolverResult::GetResolvedAddress( - int family, - rtc::SocketAddress* addr) const { - if (!owner_->wrapped()) { - return false; - } - return owner_->wrapped()->GetResolvedAddress(family, addr); -} - -int WrappingAsyncDnsResolverResult::GetError() const { - if (!owner_->wrapped()) { - return -1; // FIXME: Find a code that makes sense. - } - return owner_->wrapped()->GetError(); -} - -} // namespace webrtc