Remove api/wrapping_async_dns_resolver.cc.
Its header and its compilation configs have been removed by https://webrtc-review.googlesource.com/c/src/+/323004. Bug: webrtc:12598 Change-Id: I5ecf0c5ab273d09b90e663c1f70d10e4cc593aec Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/355260 Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42538}
This commit is contained in:
parent
accef6ad5d
commit
f86c247185
8
api/DEPS
8
api/DEPS
@ -195,14 +195,6 @@ specific_include_rules = {
|
|||||||
"+rtc_base/thread_annotations.h",
|
"+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": [
|
"video_encoder_factory_template.*\.h": [
|
||||||
"+modules/video_coding",
|
"+modules/video_coding",
|
||||||
],
|
],
|
||||||
|
|||||||
@ -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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user