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

Side by Side Diff: net/socket/ssl_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/socket/client_socket_pool_base.cc ('k') | net/socket/ssl_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_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 NetLog* net_log); 258 NetLog* net_log);
259 259
260 virtual ~SSLConnectJobFactory() {} 260 virtual ~SSLConnectJobFactory() {}
261 261
262 // ClientSocketPoolBase::ConnectJobFactory methods. 262 // ClientSocketPoolBase::ConnectJobFactory methods.
263 virtual ConnectJob* NewConnectJob( 263 virtual ConnectJob* NewConnectJob(
264 const std::string& group_name, 264 const std::string& group_name,
265 const PoolBase::Request& request, 265 const PoolBase::Request& request,
266 ConnectJob::Delegate* delegate) const OVERRIDE; 266 ConnectJob::Delegate* delegate) const OVERRIDE;
267 267
268 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { 268 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE;
269 return timeout_;
270 }
271 269
272 private: 270 private:
273 TransportClientSocketPool* const transport_pool_; 271 TransportClientSocketPool* const transport_pool_;
274 SOCKSClientSocketPool* const socks_pool_; 272 SOCKSClientSocketPool* const socks_pool_;
275 HttpProxyClientSocketPool* const http_proxy_pool_; 273 HttpProxyClientSocketPool* const http_proxy_pool_;
276 ClientSocketFactory* const client_socket_factory_; 274 ClientSocketFactory* const client_socket_factory_;
277 HostResolver* const host_resolver_; 275 HostResolver* const host_resolver_;
278 const SSLClientSocketContext context_; 276 const SSLClientSocketContext context_;
279 base::TimeDelta timeout_; 277 base::TimeDelta timeout_;
280 NetLog* net_log_; 278 NetLog* net_log_;
281 279
282 DISALLOW_COPY_AND_ASSIGN(SSLConnectJobFactory); 280 DISALLOW_COPY_AND_ASSIGN(SSLConnectJobFactory);
283 }; 281 };
284 282
285 TransportClientSocketPool* const transport_pool_; 283 TransportClientSocketPool* const transport_pool_;
286 SOCKSClientSocketPool* const socks_pool_; 284 SOCKSClientSocketPool* const socks_pool_;
287 HttpProxyClientSocketPool* const http_proxy_pool_; 285 HttpProxyClientSocketPool* const http_proxy_pool_;
288 PoolBase base_; 286 PoolBase base_;
289 const scoped_refptr<SSLConfigService> ssl_config_service_; 287 const scoped_refptr<SSLConfigService> ssl_config_service_;
290 288
291 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 289 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
292 }; 290 };
293 291
294 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); 292 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams);
295 293
296 } // namespace net 294 } // namespace net
297 295
298 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 296 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_base.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698