| OLD | NEW |
| 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 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "base/debug/stack_trace.h" | 27 #include "base/debug/stack_trace.h" |
| 28 #include "base/macros.h" | 28 #include "base/macros.h" |
| 29 #include "base/metrics/field_trial.h" | 29 #include "base/metrics/field_trial.h" |
| 30 #include "base/metrics/histogram_macros.h" | 30 #include "base/metrics/histogram_macros.h" |
| 31 #include "base/metrics/sparse_histogram.h" | 31 #include "base/metrics/sparse_histogram.h" |
| 32 #include "base/profiler/scoped_tracker.h" | 32 #include "base/profiler/scoped_tracker.h" |
| 33 #include "base/single_thread_task_runner.h" | 33 #include "base/single_thread_task_runner.h" |
| 34 #include "base/stl_util.h" | 34 #include "base/stl_util.h" |
| 35 #include "base/strings/string_util.h" | 35 #include "base/strings/string_util.h" |
| 36 #include "base/strings/utf_string_conversions.h" | 36 #include "base/strings/utf_string_conversions.h" |
| 37 #include "base/thread_task_runner_handle.h" | 37 #include "base/threading/thread_task_runner_handle.h" |
| 38 #include "base/threading/worker_pool.h" | 38 #include "base/threading/worker_pool.h" |
| 39 #include "base/time/time.h" | 39 #include "base/time/time.h" |
| 40 #include "base/trace_event/trace_event.h" | 40 #include "base/trace_event/trace_event.h" |
| 41 #include "base/values.h" | 41 #include "base/values.h" |
| 42 #include "net/base/address_family.h" | 42 #include "net/base/address_family.h" |
| 43 #include "net/base/address_list.h" | 43 #include "net/base/address_list.h" |
| 44 #include "net/base/host_port_pair.h" | 44 #include "net/base/host_port_pair.h" |
| 45 #include "net/base/ip_address.h" | 45 #include "net/base/ip_address.h" |
| 46 #include "net/base/ip_endpoint.h" | 46 #include "net/base/ip_endpoint.h" |
| 47 #include "net/base/net_errors.h" | 47 #include "net/base/net_errors.h" |
| (...skipping 2434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2482 dns_client_->SetConfig(dns_config); | 2482 dns_client_->SetConfig(dns_config); |
| 2483 num_dns_failures_ = 0; | 2483 num_dns_failures_ = 0; |
| 2484 if (dns_client_->GetConfig()) | 2484 if (dns_client_->GetConfig()) |
| 2485 UMA_HISTOGRAM_BOOLEAN("AsyncDNS.DnsClientEnabled", true); | 2485 UMA_HISTOGRAM_BOOLEAN("AsyncDNS.DnsClientEnabled", true); |
| 2486 } | 2486 } |
| 2487 | 2487 |
| 2488 AbortDnsTasks(); | 2488 AbortDnsTasks(); |
| 2489 } | 2489 } |
| 2490 | 2490 |
| 2491 } // namespace net | 2491 } // namespace net |
| OLD | NEW |