Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: chrome/common/net/raw_host_resolver_proc.cc

Issue 4208002: Revert 64202 - Initial support for built-in DNS resolver/cache.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
10 namespace chrome_common_net {
11
12 RawHostResolverProc::RawHostResolverProc(const net::IPAddressNumber& dns_server,
13 net::HostResolverProc* previous)
14 : HostResolverProc(previous), dns_server_(dns_server) {}
15
16 int 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
26 RawHostResolverProc::~RawHostResolverProc() {}
27
28 } // namespace chrome_common_net
OLDNEW
« no previous file with comments | « chrome/common/net/raw_host_resolver_proc.h ('k') | chrome/service/net/service_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698