OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BASE_HOST_RESOLVER_IMPL_H_ | 5 #ifndef NET_BASE_HOST_RESOLVER_IMPL_H_ |
6 #define NET_BASE_HOST_RESOLVER_IMPL_H_ | 6 #define NET_BASE_HOST_RESOLVER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "net/base/capturing_net_log.h" |
12 #include "net/base/host_cache.h" | 13 #include "net/base/host_cache.h" |
13 #include "net/base/host_resolver.h" | 14 #include "net/base/host_resolver.h" |
14 #include "net/base/host_resolver_proc.h" | 15 #include "net/base/host_resolver_proc.h" |
15 #include "net/base/net_log.h" | 16 #include "net/base/net_log.h" |
16 #include "net/base/network_change_notifier.h" | 17 #include "net/base/network_change_notifier.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
20 // For each hostname that is requested, HostResolver creates a | 21 // For each hostname that is requested, HostResolver creates a |
21 // HostResolverImpl::Job. This job gets dispatched to a thread in the global | 22 // HostResolverImpl::Job. This job gets dispatched to a thread in the global |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 265 |
265 // The last un-cancelled IPv6ProbeJob (if any). | 266 // The last un-cancelled IPv6ProbeJob (if any). |
266 scoped_refptr<IPv6ProbeJob> ipv6_probe_job_; | 267 scoped_refptr<IPv6ProbeJob> ipv6_probe_job_; |
267 | 268 |
268 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); | 269 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); |
269 }; | 270 }; |
270 | 271 |
271 } // namespace net | 272 } // namespace net |
272 | 273 |
273 #endif // NET_BASE_HOST_RESOLVER_IMPL_H_ | 274 #endif // NET_BASE_HOST_RESOLVER_IMPL_H_ |
OLD | NEW |