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

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

Issue 21368005: Detect domain-specific resolvers on OS X and disable DnsClient in such cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responded to review Created 7 years, 4 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_client.cc ('k') | net/dns/dns_config_service.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_DNS_CONFIG_SERVICE_H_ 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_H_
6 #define NET_DNS_DNS_CONFIG_SERVICE_H_ 6 #define NET_DNS_DNS_CONFIG_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 // List of name server addresses. 54 // List of name server addresses.
55 std::vector<IPEndPoint> nameservers; 55 std::vector<IPEndPoint> nameservers;
56 // Suffix search list; used on first lookup when number of dots in given name 56 // Suffix search list; used on first lookup when number of dots in given name
57 // is less than |ndots|. 57 // is less than |ndots|.
58 std::vector<std::string> search; 58 std::vector<std::string> search;
59 59
60 DnsHosts hosts; 60 DnsHosts hosts;
61 61
62 // True if there are options set in the system configuration that are not yet
63 // supported by DnsClient.
64 bool unhandled_options;
65
62 // AppendToMultiLabelName: is suffix search performed for multi-label names? 66 // AppendToMultiLabelName: is suffix search performed for multi-label names?
63 // True, except on Windows where it can be configured. 67 // True, except on Windows where it can be configured.
64 bool append_to_multi_label_name; 68 bool append_to_multi_label_name;
65 69
66 // Indicates that source port randomization is required. This uses additional 70 // Indicates that source port randomization is required. This uses additional
67 // resources on some platforms. 71 // resources on some platforms.
68 bool randomize_ports; 72 bool randomize_ports;
69 73
70 // Resolver options; see man resolv.conf. 74 // Resolver options; see man resolv.conf.
71 75
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 169
166 // Started in Invalidate*, cleared in On*Read. 170 // Started in Invalidate*, cleared in On*Read.
167 base::OneShotTimer<DnsConfigService> timer_; 171 base::OneShotTimer<DnsConfigService> timer_;
168 172
169 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); 173 DISALLOW_COPY_AND_ASSIGN(DnsConfigService);
170 }; 174 };
171 175
172 } // namespace net 176 } // namespace net
173 177
174 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ 178 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « net/dns/dns_client.cc ('k') | net/dns/dns_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698