Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: net/dns/dns_transaction.h

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small win fix Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698