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 #ifndef NET_DNS_HOST_RESOLVER_IMPL_H_ | 5 #ifndef NET_DNS_HOST_RESOLVER_IMPL_H_ |
6 #define NET_DNS_HOST_RESOLVER_IMPL_H_ | 6 #define NET_DNS_HOST_RESOLVER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "net/base/capturing_net_log.h" | 17 #include "net/base/capturing_net_log.h" |
18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
19 #include "net/base/network_change_notifier.h" | 19 #include "net/base/network_change_notifier.h" |
20 #include "net/base/prioritized_dispatcher.h" | 20 #include "net/base/prioritized_dispatcher.h" |
21 #include "net/dns/host_cache.h" | 21 #include "net/dns/host_cache.h" |
22 #include "net/dns/host_resolver.h" | 22 #include "net/dns/host_resolver.h" |
23 #include "net/dns/host_resolver_proc.h" | 23 #include "net/dns/host_resolver_proc.h" |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 | 26 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 281 |
282 // Allow fallback to ProcTask if DnsTask fails. | 282 // Allow fallback to ProcTask if DnsTask fails. |
283 bool fallback_to_proctask_; | 283 bool fallback_to_proctask_; |
284 | 284 |
285 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); | 285 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); |
286 }; | 286 }; |
287 | 287 |
288 } // namespace net | 288 } // namespace net |
289 | 289 |
290 #endif // NET_DNS_HOST_RESOLVER_IMPL_H_ | 290 #endif // NET_DNS_HOST_RESOLVER_IMPL_H_ |
OLD | NEW |