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

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

Issue 1130873007: net/dns: Fix the last warning found by chromium-style clang plugin on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nicer Created 5 years, 7 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
« no previous file with comments | « no previous file | 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | net/dns/dns_config_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698