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_PROC_H_ | 5 #ifndef NET_DNS_HOST_RESOLVER_PROC_H_ |
6 #define NET_DNS_HOST_RESOLVER_PROC_H_ | 6 #define NET_DNS_HOST_RESOLVER_PROC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "net/base/address_family.h" | 12 #include "net/base/address_family.h" |
12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 | 16 |
16 class AddressList; | 17 class AddressList; |
17 | 18 |
18 // Interface for a getaddrinfo()-like procedure. This is used by unit-tests | 19 // Interface for a getaddrinfo()-like procedure. This is used by unit-tests |
19 // to control the underlying resolutions in HostResolverImpl. HostResolverProcs | 20 // to control the underlying resolutions in HostResolverImpl. HostResolverProcs |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 104 |
104 protected: | 105 protected: |
105 ~SystemHostResolverProc() override; | 106 ~SystemHostResolverProc() override; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(SystemHostResolverProc); | 108 DISALLOW_COPY_AND_ASSIGN(SystemHostResolverProc); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace net | 111 } // namespace net |
111 | 112 |
112 #endif // NET_DNS_HOST_RESOLVER_PROC_H_ | 113 #endif // NET_DNS_HOST_RESOLVER_PROC_H_ |
OLD | NEW |