1 // Copyright (c) 2011 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.
5 #include "net/base/host_resolver.h"
9 HostResolver::RequestInfo::RequestInfo(const HostPortPair
& host_port_pair
)
10 : host_port_pair_(host_port_pair
),
11 address_family_(ADDRESS_FAMILY_UNSPECIFIED
),
12 host_resolver_flags_(0),
13 allow_cached_response_(true),
14 is_speculative_(false),
18 HostResolver::~HostResolver() {
21 AddressFamily
HostResolver::GetDefaultAddressFamily() const {
22 return ADDRESS_FAMILY_UNSPECIFIED
;
25 void HostResolver::ProbeIPv6Support() {
28 HostCache
* HostResolver::GetHostCache() {
32 HostResolver::HostResolver() {