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 #ifndef NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ | 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ |
6 #define NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ | 6 #define NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ |
7 | 7 |
8 // The sole purpose of dns_config_service_win.h is for unittests so we just | 8 // The sole purpose of dns_config_service_win.h is for unittests so we just |
9 // include these headers here. | 9 // include these headers here. |
10 #include <winsock2.h> | 10 #include <winsock2.h> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 struct DevolutionSetting { | 59 struct DevolutionSetting { |
60 // UseDomainNameDevolution | 60 // UseDomainNameDevolution |
61 RegDword enabled; | 61 RegDword enabled; |
62 // DomainNameDevolutionLevel | 62 // DomainNameDevolutionLevel |
63 RegDword level; | 63 RegDword level; |
64 }; | 64 }; |
65 | 65 |
66 // Filled in by GetAdapterAddresses. Note that the alternative | 66 // Filled in by GetAdapterAddresses. Note that the alternative |
67 // GetNetworkParams does not include IPv6 addresses. | 67 // GetNetworkParams does not include IPv6 addresses. |
68 scoped_ptr_malloc<IP_ADAPTER_ADDRESSES> addresses; | 68 scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> addresses; |
69 | 69 |
70 // SOFTWARE\Policies\Microsoft\Windows NT\DNSClient\SearchList | 70 // SOFTWARE\Policies\Microsoft\Windows NT\DNSClient\SearchList |
71 RegString policy_search_list; | 71 RegString policy_search_list; |
72 // SYSTEM\CurrentControlSet\Tcpip\Parameters\SearchList | 72 // SYSTEM\CurrentControlSet\Tcpip\Parameters\SearchList |
73 RegString tcpip_search_list; | 73 RegString tcpip_search_list; |
74 // SYSTEM\CurrentControlSet\Tcpip\Parameters\Domain | 74 // SYSTEM\CurrentControlSet\Tcpip\Parameters\Domain |
75 RegString tcpip_domain; | 75 RegString tcpip_domain; |
76 // SOFTWARE\Policies\Microsoft\System\DNSClient\PrimaryDnsSuffix | 76 // SOFTWARE\Policies\Microsoft\System\DNSClient\PrimaryDnsSuffix |
77 RegString primary_dns_suffix; | 77 RegString primary_dns_suffix; |
78 | 78 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin); | 138 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin); |
139 }; | 139 }; |
140 | 140 |
141 } // namespace internal | 141 } // namespace internal |
142 | 142 |
143 } // namespace net | 143 } // namespace net |
144 | 144 |
145 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ | 145 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ |
146 | 146 |
OLD | NEW |