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

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

Issue 169193002: Convert scoped_ptr_malloc -> scoped_ptr, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 10 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/address_sorter_win.cc ('k') | net/dns/dns_config_service_win.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_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
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
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
OLDNEW
« no previous file with comments | « net/dns/address_sorter_win.cc ('k') | net/dns/dns_config_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698