| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/dns/host_resolver.h" | 5 #include "net/dns/host_resolver.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 priority_(MEDIUM) { | 102 priority_(MEDIUM) { |
| 103 } | 103 } |
| 104 | 104 |
| 105 HostResolver::~HostResolver() { | 105 HostResolver::~HostResolver() { |
| 106 } | 106 } |
| 107 | 107 |
| 108 AddressFamily HostResolver::GetDefaultAddressFamily() const { | 108 AddressFamily HostResolver::GetDefaultAddressFamily() const { |
| 109 return ADDRESS_FAMILY_UNSPECIFIED; | 109 return ADDRESS_FAMILY_UNSPECIFIED; |
| 110 } | 110 } |
| 111 | 111 |
| 112 void HostResolver::ProbeIPv6Support() { | |
| 113 } | |
| 114 | |
| 115 void HostResolver::SetDnsClientEnabled(bool enabled) { | 112 void HostResolver::SetDnsClientEnabled(bool enabled) { |
| 116 } | 113 } |
| 117 | 114 |
| 118 HostCache* HostResolver::GetHostCache() { | 115 HostCache* HostResolver::GetHostCache() { |
| 119 return NULL; | 116 return NULL; |
| 120 } | 117 } |
| 121 | 118 |
| 122 base::Value* HostResolver::GetDnsConfigAsValue() const { | 119 base::Value* HostResolver::GetDnsConfigAsValue() const { |
| 123 return NULL; | 120 return NULL; |
| 124 } | 121 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 139 // static | 136 // static |
| 140 scoped_ptr<HostResolver> | 137 scoped_ptr<HostResolver> |
| 141 HostResolver::CreateDefaultResolver(NetLog* net_log) { | 138 HostResolver::CreateDefaultResolver(NetLog* net_log) { |
| 142 return CreateSystemResolver(Options(), net_log); | 139 return CreateSystemResolver(Options(), net_log); |
| 143 } | 140 } |
| 144 | 141 |
| 145 HostResolver::HostResolver() { | 142 HostResolver::HostResolver() { |
| 146 } | 143 } |
| 147 | 144 |
| 148 } // namespace net | 145 } // namespace net |
| OLD | NEW |