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

Side by Side Diff: net/http/http_network_session.cc

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_network_session.h ('k') | net/http/http_pipelined_connection_impl.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) 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 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 28 matching lines...) Expand all
39 params.ssl_session_cache_shard, 39 params.ssl_session_cache_shard,
40 params.proxy_service, 40 params.proxy_service,
41 params.ssl_config_service, 41 params.ssl_config_service,
42 pool_type); 42 pool_type);
43 } 43 }
44 44
45 } // unnamed namespace 45 } // unnamed namespace
46 46
47 namespace net { 47 namespace net {
48 48
49 HttpNetworkSession::Params::Params()
50 : client_socket_factory(NULL),
51 host_resolver(NULL),
52 cert_verifier(NULL),
53 server_bound_cert_service(NULL),
54 transport_security_state(NULL),
55 proxy_service(NULL),
56 ssl_config_service(NULL),
57 http_auth_handler_factory(NULL),
58 network_delegate(NULL),
59 http_server_properties(NULL),
60 net_log(NULL),
61 force_http_pipelining(false) {}
62
49 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 63 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
50 HttpNetworkSession::HttpNetworkSession(const Params& params) 64 HttpNetworkSession::HttpNetworkSession(const Params& params)
51 : net_log_(params.net_log), 65 : net_log_(params.net_log),
52 network_delegate_(params.network_delegate), 66 network_delegate_(params.network_delegate),
53 http_server_properties_(params.http_server_properties), 67 http_server_properties_(params.http_server_properties),
54 cert_verifier_(params.cert_verifier), 68 cert_verifier_(params.cert_verifier),
55 http_auth_handler_factory_(params.http_auth_handler_factory), 69 http_auth_handler_factory_(params.http_auth_handler_factory),
56 force_http_pipelining_(params.force_http_pipelining), 70 force_http_pipelining_(params.force_http_pipelining),
57 proxy_service_(params.proxy_service), 71 proxy_service_(params.proxy_service),
58 ssl_config_service_(params.ssl_config_service), 72 ssl_config_service_(params.ssl_config_service),
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 case WEBSOCKET_SOCKET_POOL: 161 case WEBSOCKET_SOCKET_POOL:
148 return websocket_socket_pool_manager_.get(); 162 return websocket_socket_pool_manager_.get();
149 default: 163 default:
150 NOTREACHED(); 164 NOTREACHED();
151 break; 165 break;
152 } 166 }
153 return NULL; 167 return NULL;
154 } 168 }
155 169
156 } // namespace net 170 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_pipelined_connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698