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

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

Issue 1844793007: Remove "#pragma comment(lib" in net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « net/cert/x509_certificate_win.cc ('k') | net/http/http_auth_handler_ntlm_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 #include "net/dns/dns_config_service_win.h" 5 #include "net/dns/dns_config_service_win.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 16 matching lines...) Expand all
27 #include "base/win/registry.h" 27 #include "base/win/registry.h"
28 #include "base/win/scoped_handle.h" 28 #include "base/win/scoped_handle.h"
29 #include "base/win/windows_version.h" 29 #include "base/win/windows_version.h"
30 #include "net/base/ip_address.h" 30 #include "net/base/ip_address.h"
31 #include "net/base/network_change_notifier.h" 31 #include "net/base/network_change_notifier.h"
32 #include "net/dns/dns_hosts.h" 32 #include "net/dns/dns_hosts.h"
33 #include "net/dns/dns_protocol.h" 33 #include "net/dns/dns_protocol.h"
34 #include "net/dns/serial_worker.h" 34 #include "net/dns/serial_worker.h"
35 #include "url/url_canon.h" 35 #include "url/url_canon.h"
36 36
37 #pragma comment(lib, "iphlpapi.lib")
38
39 namespace net { 37 namespace net {
40 38
41 namespace internal { 39 namespace internal {
42 40
43 namespace { 41 namespace {
44 42
45 // Interval between retries to parse config. Used only until parsing succeeds. 43 // Interval between retries to parse config. Used only until parsing succeeds.
46 const int kRetryIntervalSeconds = 5; 44 const int kRetryIntervalSeconds = 5;
47 45
48 // Registry key paths. 46 // Registry key paths.
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 } 769 }
772 770
773 } // namespace internal 771 } // namespace internal
774 772
775 // static 773 // static
776 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { 774 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() {
777 return scoped_ptr<DnsConfigService>(new internal::DnsConfigServiceWin()); 775 return scoped_ptr<DnsConfigService>(new internal::DnsConfigServiceWin());
778 } 776 }
779 777
780 } // namespace net 778 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/x509_certificate_win.cc ('k') | net/http/http_auth_handler_ntlm_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698