| 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_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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 // Number of retry attempts so far. | 129 // Number of retry attempts so far. |
| 130 size_t attempts_; | 130 size_t attempts_; |
| 131 | 131 |
| 132 // Timeouts in milliseconds. | 132 // Timeouts in milliseconds. |
| 133 std::vector<base::TimeDelta> timeouts_ms_; | 133 std::vector<base::TimeDelta> timeouts_ms_; |
| 134 | 134 |
| 135 State next_state_; | 135 State next_state_; |
| 136 ClientSocketFactory* socket_factory_; | 136 ClientSocketFactory* socket_factory_; |
| 137 base::OneShotTimer<DnsTransaction> timer_; | 137 base::OneShotTimer<DnsTransaction> timer_; |
| 138 OldCompletionCallbackImpl<DnsTransaction> io_callback_; | |
| 139 | 138 |
| 140 BoundNetLog net_log_; | 139 BoundNetLog net_log_; |
| 141 | 140 |
| 142 DISALLOW_COPY_AND_ASSIGN(DnsTransaction); | 141 DISALLOW_COPY_AND_ASSIGN(DnsTransaction); |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 } // namespace net | 144 } // namespace net |
| 146 | 145 |
| 147 #endif // NET_DNS_DNS_TRANSACTION_H_ | 146 #endif // NET_DNS_DNS_TRANSACTION_H_ |
| OLD | NEW |