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

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

Issue 8954017: Avoid including gtest file directly, and go through base instead (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/disk_cache/mem_entry_impl.h ('k') | webkit/appcache/appcache_service.h » ('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_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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/gtest_prod_util.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
15 #include "net/base/address_list.h" 16 #include "net/base/address_list.h"
16 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
17 #include "net/base/host_resolver.h" 18 #include "net/base/host_resolver.h"
18 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
19 #include "net/base/net_log.h" 20 #include "net/base/net_log.h"
20 #include "net/socket/stream_socket.h" 21 #include "net/socket/stream_socket.h"
21 #include "testing/gtest/include/gtest/gtest_prod.h"
22 22
23 namespace net { 23 namespace net {
24 24
25 class ClientSocketHandle; 25 class ClientSocketHandle;
26 class BoundNetLog; 26 class BoundNetLog;
27 27
28 // This StreamSocket is used to setup a SOCKSv5 handshake with a socks proxy. 28 // This StreamSocket is used to setup a SOCKSv5 handshake with a socks proxy.
29 // Currently no SOCKSv5 authentication is supported. 29 // Currently no SOCKSv5 authentication is supported.
30 class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { 30 class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket {
31 public: 31 public:
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 HostResolver::RequestInfo host_request_info_; 153 HostResolver::RequestInfo host_request_info_;
154 154
155 BoundNetLog net_log_; 155 BoundNetLog net_log_;
156 156
157 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket); 157 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
158 }; 158 };
159 159
160 } // namespace net 160 } // namespace net
161 161
162 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 162 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/disk_cache/mem_entry_impl.h ('k') | webkit/appcache/appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698