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

Side by Side Diff: net/dns/host_resolver_impl.h

Issue 23522036: [net/dns] Treat Name Resolution Policy Table as unhandled option. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responded to review Created 7 years, 3 months 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
« no previous file with comments | « net/dns/dns_config_service_win_unittest.cc ('k') | net/dns/host_resolver_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef NET_DNS_HOST_RESOLVER_IMPL_H_ 5 #ifndef NET_DNS_HOST_RESOLVER_IMPL_H_
6 #define NET_DNS_HOST_RESOLVER_IMPL_H_ 6 #define NET_DNS_HOST_RESOLVER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // to measure performance of DnsConfigService: http://crbug.com/125599 272 // to measure performance of DnsConfigService: http://crbug.com/125599
273 bool received_dns_config_; 273 bool received_dns_config_;
274 274
275 // Number of consecutive failures of DnsTask, counted when fallback succeeds. 275 // Number of consecutive failures of DnsTask, counted when fallback succeeds.
276 unsigned num_dns_failures_; 276 unsigned num_dns_failures_;
277 277
278 // True if probing is done for each Request to set address family. When false, 278 // True if probing is done for each Request to set address family. When false,
279 // explicit setting in |default_address_family_| is used. 279 // explicit setting in |default_address_family_| is used.
280 bool probe_ipv6_support_; 280 bool probe_ipv6_support_;
281 281
282 // True if DnsConfigService detected that system configuration depends on
283 // local IPv6 connectivity. Disables probing.
284 bool use_local_ipv6_;
285
282 // True iff ProcTask has successfully resolved a hostname known to have IPv6 286 // True iff ProcTask has successfully resolved a hostname known to have IPv6
283 // addresses using ADDRESS_FAMILY_UNSPECIFIED. Reset on IP address change. 287 // addresses using ADDRESS_FAMILY_UNSPECIFIED. Reset on IP address change.
284 bool resolved_known_ipv6_hostname_; 288 bool resolved_known_ipv6_hostname_;
285 289
286 // Any resolver flags that should be added to a request by default. 290 // Any resolver flags that should be added to a request by default.
287 HostResolverFlags additional_resolver_flags_; 291 HostResolverFlags additional_resolver_flags_;
288 292
289 // Allow fallback to ProcTask if DnsTask fails. 293 // Allow fallback to ProcTask if DnsTask fails.
290 bool fallback_to_proctask_; 294 bool fallback_to_proctask_;
291 295
292 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); 296 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl);
293 }; 297 };
294 298
295 } // namespace net 299 } // namespace net
296 300
297 #endif // NET_DNS_HOST_RESOLVER_IMPL_H_ 301 #endif // NET_DNS_HOST_RESOLVER_IMPL_H_
OLDNEW
« no previous file with comments | « net/dns/dns_config_service_win_unittest.cc ('k') | net/dns/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698