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

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

Issue 18054010: Use a direct include of time headers in net/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/host_resolver_impl.h ('k') | net/dns/host_resolver_impl_unittest.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/host_resolver_impl.h" 5 #include "net/dns/host_resolver_impl.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <Winsock2.h> 8 #include <Winsock2.h>
9 #elif defined(OS_POSIX) 9 #elif defined(OS_POSIX)
10 #include <netdb.h> 10 #include <netdb.h>
(...skipping 10 matching lines...) Expand all
21 #include "base/compiler_specific.h" 21 #include "base/compiler_specific.h"
22 #include "base/debug/debugger.h" 22 #include "base/debug/debugger.h"
23 #include "base/debug/stack_trace.h" 23 #include "base/debug/stack_trace.h"
24 #include "base/message_loop/message_loop_proxy.h" 24 #include "base/message_loop/message_loop_proxy.h"
25 #include "base/metrics/field_trial.h" 25 #include "base/metrics/field_trial.h"
26 #include "base/metrics/histogram.h" 26 #include "base/metrics/histogram.h"
27 #include "base/stl_util.h" 27 #include "base/stl_util.h"
28 #include "base/strings/string_util.h" 28 #include "base/strings/string_util.h"
29 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
30 #include "base/threading/worker_pool.h" 30 #include "base/threading/worker_pool.h"
31 #include "base/time.h" 31 #include "base/time/time.h"
32 #include "base/values.h" 32 #include "base/values.h"
33 #include "net/base/address_family.h" 33 #include "net/base/address_family.h"
34 #include "net/base/address_list.h" 34 #include "net/base/address_list.h"
35 #include "net/base/dns_reloader.h" 35 #include "net/base/dns_reloader.h"
36 #include "net/base/dns_util.h" 36 #include "net/base/dns_util.h"
37 #include "net/base/host_port_pair.h" 37 #include "net/base/host_port_pair.h"
38 #include "net/base/net_errors.h" 38 #include "net/base/net_errors.h"
39 #include "net/base/net_log.h" 39 #include "net/base/net_log.h"
40 #include "net/base/net_util.h" 40 #include "net/base/net_util.h"
41 #include "net/dns/address_sorter.h" 41 #include "net/dns/address_sorter.h"
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after
2270 } 2270 }
2271 DnsConfig dns_config; 2271 DnsConfig dns_config;
2272 NetworkChangeNotifier::GetDnsConfig(&dns_config); 2272 NetworkChangeNotifier::GetDnsConfig(&dns_config);
2273 dns_client_->SetConfig(dns_config); 2273 dns_client_->SetConfig(dns_config);
2274 num_dns_failures_ = 0; 2274 num_dns_failures_ = 0;
2275 if (dns_config.IsValid()) 2275 if (dns_config.IsValid())
2276 UMA_HISTOGRAM_BOOLEAN("AsyncDNS.DnsClientEnabled", true); 2276 UMA_HISTOGRAM_BOOLEAN("AsyncDNS.DnsClientEnabled", true);
2277 } 2277 }
2278 2278
2279 } // namespace net 2279 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/host_resolver_impl.h ('k') | net/dns/host_resolver_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698