OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MOJO_H_ | 5 #ifndef NET_DNS_HOST_RESOLVER_MOJO_H_ |
6 #define NET_DNS_HOST_RESOLVER_MOJO_H_ | 6 #define NET_DNS_HOST_RESOLVER_MOJO_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
10 #include "net/dns/host_cache.h" | 11 #include "net/dns/host_cache.h" |
11 #include "net/dns/host_resolver.h" | 12 #include "net/dns/host_resolver.h" |
12 #include "net/interfaces/host_resolver_service.mojom.h" | 13 #include "net/interfaces/host_resolver_service.mojom.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 class AddressList; | 16 class AddressList; |
16 class BoundNetLog; | 17 class BoundNetLog; |
17 | 18 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 base::WeakPtrFactory<HostCache> host_cache_weak_factory_; | 57 base::WeakPtrFactory<HostCache> host_cache_weak_factory_; |
57 | 58 |
58 base::ThreadChecker thread_checker_; | 59 base::ThreadChecker thread_checker_; |
59 | 60 |
60 DISALLOW_COPY_AND_ASSIGN(HostResolverMojo); | 61 DISALLOW_COPY_AND_ASSIGN(HostResolverMojo); |
61 }; | 62 }; |
62 | 63 |
63 } // namespace net | 64 } // namespace net |
64 | 65 |
65 #endif // NET_DNS_HOST_RESOLVER_MOJO_H_ | 66 #endif // NET_DNS_HOST_RESOLVER_MOJO_H_ |
OLD | NEW |