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

Side by Side Diff: net/socket/socks5_client_socket.h

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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) 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_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
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 "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "net/base/address_list.h" 15 #include "net/base/address_list.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "net/base/host_resolver.h"
18 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
19 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
19 #include "net/dns/host_resolver.h"
20 #include "net/socket/stream_socket.h" 20 #include "net/socket/stream_socket.h"
21 21
22 namespace net { 22 namespace net {
23 23
24 class ClientSocketHandle; 24 class ClientSocketHandle;
25 class BoundNetLog; 25 class BoundNetLog;
26 26
27 // This StreamSocket is used to setup a SOCKSv5 handshake with a socks proxy. 27 // This StreamSocket is used to setup a SOCKSv5 handshake with a socks proxy.
28 // Currently no SOCKSv5 authentication is supported. 28 // Currently no SOCKSv5 authentication is supported.
29 class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { 29 class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 HostResolver::RequestInfo host_request_info_; 155 HostResolver::RequestInfo host_request_info_;
156 156
157 BoundNetLog net_log_; 157 BoundNetLog net_log_;
158 158
159 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket); 159 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
160 }; 160 };
161 161
162 } // namespace net 162 } // namespace net
163 163
164 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 164 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698