#include "chrome/browser/predictors/proxy_lookup_client_impl.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/metrics/histogram_macros.h"
#include "base/task/common/task_annotator.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "net/proxy_resolution/proxy_info.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "url/gurl.h"
namespace predictors {
ProxyLookupClientImpl::ProxyLookupClientImpl(
const GURL& url,
const net::NetworkAnonymizationKey& network_anonymization_key,
ProxyLookupCallback callback,
network::mojom::NetworkContext* network_context)
: … { … }
ProxyLookupClientImpl::~ProxyLookupClientImpl() = default;
void ProxyLookupClientImpl::OnProxyLookupComplete(
int32_t net_error,
const std::optional<net::ProxyInfo>& proxy_info) { … }
}