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

Side by Side Diff: net/http/http_proxy_client_socket_pool.h

Issue 10854063: Clean-up inline members of nested classes (net/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a NET_EXPOR_PRIVATE Created 8 years, 4 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
« no previous file with comments | « net/http/http_pipelined_connection_impl.cc ('k') | net/http/http_proxy_client_socket_pool.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) 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_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 6 #define NET_HTTP_HTTP_PROXY_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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 SSLClientSocketPool* ssl_pool, 245 SSLClientSocketPool* ssl_pool,
246 HostResolver* host_resolver, 246 HostResolver* host_resolver,
247 NetLog* net_log); 247 NetLog* net_log);
248 248
249 // ClientSocketPoolBase::ConnectJobFactory methods. 249 // ClientSocketPoolBase::ConnectJobFactory methods.
250 virtual ConnectJob* NewConnectJob( 250 virtual ConnectJob* NewConnectJob(
251 const std::string& group_name, 251 const std::string& group_name,
252 const PoolBase::Request& request, 252 const PoolBase::Request& request,
253 ConnectJob::Delegate* delegate) const OVERRIDE; 253 ConnectJob::Delegate* delegate) const OVERRIDE;
254 254
255 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { 255 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE;
256 return timeout_;
257 }
258 256
259 private: 257 private:
260 TransportClientSocketPool* const transport_pool_; 258 TransportClientSocketPool* const transport_pool_;
261 SSLClientSocketPool* const ssl_pool_; 259 SSLClientSocketPool* const ssl_pool_;
262 HostResolver* const host_resolver_; 260 HostResolver* const host_resolver_;
263 NetLog* net_log_; 261 NetLog* net_log_;
264 base::TimeDelta timeout_; 262 base::TimeDelta timeout_;
265 263
266 DISALLOW_COPY_AND_ASSIGN(HttpProxyConnectJobFactory); 264 DISALLOW_COPY_AND_ASSIGN(HttpProxyConnectJobFactory);
267 }; 265 };
268 266
269 TransportClientSocketPool* const transport_pool_; 267 TransportClientSocketPool* const transport_pool_;
270 SSLClientSocketPool* const ssl_pool_; 268 SSLClientSocketPool* const ssl_pool_;
271 PoolBase base_; 269 PoolBase base_;
272 270
273 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
274 }; 272 };
275 273
276 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, 274 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool,
277 HttpProxySocketParams); 275 HttpProxySocketParams);
278 276
279 } // namespace net 277 } // namespace net
280 278
281 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 279 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_pipelined_connection_impl.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698