OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SINGLE_REQUEST_HOST_RESOLVER_H_ | 5 #ifndef NET_DNS_SINGLE_REQUEST_HOST_RESOLVER_H_ |
6 #define NET_DNS_SINGLE_REQUEST_HOST_RESOLVER_H_ | 6 #define NET_DNS_SINGLE_REQUEST_HOST_RESOLVER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 | |
10 #include "net/base/completion_callback.h" | 9 #include "net/base/completion_callback.h" |
11 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
12 #include "net/base/request_priority.h" | 11 #include "net/base/request_priority.h" |
13 #include "net/dns/host_resolver.h" | 12 #include "net/dns/host_resolver.h" |
14 | 13 |
15 namespace net { | 14 namespace net { |
16 | 15 |
17 class AddressList; | 16 class AddressList; |
18 class BoundNetLog; | 17 class BoundNetLog; |
19 | 18 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 55 |
57 // Completion callback for when request to |resolver_| completes. | 56 // Completion callback for when request to |resolver_| completes. |
58 CompletionCallback callback_; | 57 CompletionCallback callback_; |
59 | 58 |
60 DISALLOW_COPY_AND_ASSIGN(SingleRequestHostResolver); | 59 DISALLOW_COPY_AND_ASSIGN(SingleRequestHostResolver); |
61 }; | 60 }; |
62 | 61 |
63 } // namespace net | 62 } // namespace net |
64 | 63 |
65 #endif // NET_DNS_SINGLE_REQUEST_HOST_RESOLVER_H_ | 64 #endif // NET_DNS_SINGLE_REQUEST_HOST_RESOLVER_H_ |
OLD | NEW |