OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_NETWORK_HOST_RESOLVER_IMPL_CHROMEOS_H_ | 5 #ifndef CHROMEOS_NETWORK_HOST_RESOLVER_IMPL_CHROMEOS_H_ |
6 #define CHROMEOS_NETWORK_HOST_RESOLVER_IMPL_CHROMEOS_H_ | 6 #define CHROMEOS_NETWORK_HOST_RESOLVER_IMPL_CHROMEOS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
10 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
11 #include "net/dns/host_resolver_impl.h" | 12 #include "net/dns/host_resolver_impl.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
15 } | 16 } |
16 | 17 |
17 namespace chromeos { | 18 namespace chromeos { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 base::ThreadChecker thread_checker_; | 72 base::ThreadChecker thread_checker_; |
72 scoped_refptr<base::SingleThreadTaskRunner> network_handler_task_runner_; | 73 scoped_refptr<base::SingleThreadTaskRunner> network_handler_task_runner_; |
73 base::WeakPtrFactory<HostResolverImplChromeOS> weak_ptr_factory_; | 74 base::WeakPtrFactory<HostResolverImplChromeOS> weak_ptr_factory_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(HostResolverImplChromeOS); | 76 DISALLOW_COPY_AND_ASSIGN(HostResolverImplChromeOS); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace chromeos | 79 } // namespace chromeos |
79 | 80 |
80 #endif // CHROMEOS_NETWORK_HOST_RESOLVER_IMPL_CHROMEOS_H_ | 81 #endif // CHROMEOS_NETWORK_HOST_RESOLVER_IMPL_CHROMEOS_H_ |
OLD | NEW |