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

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: rebased 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
« no previous file with comments | « net/curvecp/test_server.cc ('k') | net/dns/dns_transaction.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 scoped_ptr<DnsQuery> query_; 86 scoped_ptr<DnsQuery> query_;
87 ResultCallback callback_; 87 ResultCallback callback_;
88 scoped_ptr<DnsResponse> response_; 88 scoped_ptr<DnsResponse> response_;
89 scoped_ptr<DatagramClientSocket> socket_; 89 scoped_ptr<DatagramClientSocket> socket_;
90 90
91 // Number of retry attempts so far. 91 // Number of retry attempts so far.
92 int attempts_; 92 int attempts_;
93 93
94 State next_state_; 94 State next_state_;
95 base::OneShotTimer<DnsTransaction> timer_; 95 base::OneShotTimer<DnsTransaction> timer_;
96 OldCompletionCallbackImpl<DnsTransaction> io_callback_;
97 96
98 BoundNetLog net_log_; 97 BoundNetLog net_log_;
99 98
100 DISALLOW_COPY_AND_ASSIGN(DnsTransaction); 99 DISALLOW_COPY_AND_ASSIGN(DnsTransaction);
101 }; 100 };
102 101
103 } // namespace net 102 } // namespace net
104 103
105 #endif // NET_DNS_DNS_TRANSACTION_H_ 104 #endif // NET_DNS_DNS_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/curvecp/test_server.cc ('k') | net/dns/dns_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698