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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 DWORD value; | 56 DWORD value; |
57 }; | 57 }; |
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 DnsSystemSettings(); |
| 67 ~DnsSystemSettings(); |
| 68 |
66 // Filled in by GetAdapterAddresses. Note that the alternative | 69 // Filled in by GetAdapterAddresses. Note that the alternative |
67 // GetNetworkParams does not include IPv6 addresses. | 70 // GetNetworkParams does not include IPv6 addresses. |
68 scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> addresses; | 71 scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> addresses; |
69 | 72 |
70 // SOFTWARE\Policies\Microsoft\Windows NT\DNSClient\SearchList | 73 // SOFTWARE\Policies\Microsoft\Windows NT\DNSClient\SearchList |
71 RegString policy_search_list; | 74 RegString policy_search_list; |
72 // SYSTEM\CurrentControlSet\Tcpip\Parameters\SearchList | 75 // SYSTEM\CurrentControlSet\Tcpip\Parameters\SearchList |
73 RegString tcpip_search_list; | 76 RegString tcpip_search_list; |
74 // SYSTEM\CurrentControlSet\Tcpip\Parameters\Domain | 77 // SYSTEM\CurrentControlSet\Tcpip\Parameters\Domain |
75 RegString tcpip_domain; | 78 RegString tcpip_domain; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 140 |
138 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin); | 141 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin); |
139 }; | 142 }; |
140 | 143 |
141 } // namespace internal | 144 } // namespace internal |
142 | 145 |
143 } // namespace net | 146 } // namespace net |
144 | 147 |
145 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ | 148 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ |
146 | 149 |
OLD | NEW |