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_DNS_TRANSACTION_H_ | 5 #ifndef NET_DNS_DNS_TRANSACTION_H_ |
6 #define NET_DNS_DNS_TRANSACTION_H_ | 6 #define NET_DNS_DNS_TRANSACTION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/compiler_specific.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
18 class BoundNetLog; | 19 class BoundNetLog; |
19 class DnsResponse; | 20 class DnsResponse; |
20 class DnsSession; | 21 class DnsSession; |
21 | 22 |
22 // DnsTransaction implements a stub DNS resolver as defined in RFC 1034. | 23 // DnsTransaction implements a stub DNS resolver as defined in RFC 1034. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Creates a DnsTransactionFactory which creates DnsTransactionImpl using the | 71 // Creates a DnsTransactionFactory which creates DnsTransactionImpl using the |
71 // |session|. | 72 // |session|. |
72 static scoped_ptr<DnsTransactionFactory> CreateFactory( | 73 static scoped_ptr<DnsTransactionFactory> CreateFactory( |
73 DnsSession* session) WARN_UNUSED_RESULT; | 74 DnsSession* session) WARN_UNUSED_RESULT; |
74 }; | 75 }; |
75 | 76 |
76 } // namespace net | 77 } // namespace net |
77 | 78 |
78 #endif // NET_DNS_DNS_TRANSACTION_H_ | 79 #endif // NET_DNS_DNS_TRANSACTION_H_ |
79 | 80 |
OLD | NEW |