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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 | « net/dns/dns_config_service_unittest.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>
11 #include <iphlpapi.h> 11 #include <iphlpapi.h>
12 12
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
18 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
19 #include "net/base/net_export.h" 20 #include "net/base/net_export.h"
20 #include "net/dns/dns_config_service.h" 21 #include "net/dns/dns_config_service.h"
21 22
22 // The general effort of DnsConfigServiceWin is to configure |nameservers| and 23 // The general effort of DnsConfigServiceWin is to configure |nameservers| and
23 // |search| in DnsConfig. The settings are stored in the Windows registry, but 24 // |search| in DnsConfig. The settings are stored in the Windows registry, but
24 // to simplify the task we use the IP Helper API wherever possible. That API 25 // to simplify the task we use the IP Helper API wherever possible. That API
25 // yields the complete and ordered |nameservers|, but to determine |search| we 26 // yields the complete and ordered |nameservers|, but to determine |search| we
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin); 142 DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin);
142 }; 143 };
143 144
144 } // namespace internal 145 } // namespace internal
145 146
146 } // namespace net 147 } // namespace net
147 148
148 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ 149 #endif // NET_DNS_DNS_CONFIG_SERVICE_WIN_H_
149 150
OLDNEW
« no previous file with comments | « net/dns/dns_config_service_unittest.cc ('k') | net/dns/dns_config_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698