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

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

Issue 1604042: Improve error messages for bad SocketParams. (Closed)
Patch Set: Address davidben's comments and add to gyp file. Created 10 years, 6 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
« no previous file with comments | « net/socket/client_socket_pool_base_unittest.cc ('k') | net/socket/tcp_client_socket_pool.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SOCKS_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 NetLog* net_log_; 181 NetLog* net_log_;
182 182
183 DISALLOW_COPY_AND_ASSIGN(SOCKSConnectJobFactory); 183 DISALLOW_COPY_AND_ASSIGN(SOCKSConnectJobFactory);
184 }; 184 };
185 185
186 PoolBase base_; 186 PoolBase base_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); 188 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool);
189 }; 189 };
190 190
191 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams) 191 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams);
192 192
193 } // namespace net 193 } // namespace net
194 194
195 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 195 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_base_unittest.cc ('k') | net/socket/tcp_client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698