1// Copyright (c) 2010 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/common/net/raw_host_resolver_proc.h"
6
7#include "base/logging.h"
8#include "net/base/net_errors.h"
9
10namespace chrome_common_net {
11
12RawHostResolverProc::RawHostResolverProc(const net::IPAddressNumber& dns_server,
13                                         net::HostResolverProc* previous)
14    : HostResolverProc(previous), dns_server_(dns_server) {}
15
16int RawHostResolverProc::Resolve(const std::string& host,
17                                 net::AddressFamily address_family,
18                                 net::HostResolverFlags host_resolver_flags,
19                                 net::AddressList* addrlist,
20                                 int* os_error) {
21  // TODO(agayev): Implement raw DNS resolution.
22  LOG(INFO) << "trying to resolve " << host;
23  return net::ERR_NAME_NOT_RESOLVED;
24}
25
26RawHostResolverProc::~RawHostResolverProc() {}
27
28}  // namespace chrome_common_net
29