OLD | NEW |
1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/string_piece.h" |
14 #include "base/timer.h" | 15 #include "base/timer.h" |
15 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
16 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
17 #include "net/base/ip_endpoint.h" | 18 #include "net/base/ip_endpoint.h" |
18 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
19 #include "net/base/net_log.h" | 20 #include "net/base/net_log.h" |
20 #include "net/base/rand_callback.h" | 21 #include "net/base/rand_callback.h" |
21 | 22 |
22 namespace net { | 23 namespace net { |
23 | 24 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 base::OneShotTimer<DnsTransaction> timer_; | 96 base::OneShotTimer<DnsTransaction> timer_; |
96 | 97 |
97 BoundNetLog net_log_; | 98 BoundNetLog net_log_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(DnsTransaction); | 100 DISALLOW_COPY_AND_ASSIGN(DnsTransaction); |
100 }; | 101 }; |
101 | 102 |
102 } // namespace net | 103 } // namespace net |
103 | 104 |
104 #endif // NET_DNS_DNS_TRANSACTION_H_ | 105 #endif // NET_DNS_DNS_TRANSACTION_H_ |
OLD | NEW |