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

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

Issue 10834215: Remove static variables from HttpStreamFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 8 years, 3 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 host_resolver(NULL), 51 host_resolver(NULL),
52 cert_verifier(NULL), 52 cert_verifier(NULL),
53 server_bound_cert_service(NULL), 53 server_bound_cert_service(NULL),
54 transport_security_state(NULL), 54 transport_security_state(NULL),
55 proxy_service(NULL), 55 proxy_service(NULL),
56 ssl_config_service(NULL), 56 ssl_config_service(NULL),
57 http_auth_handler_factory(NULL), 57 http_auth_handler_factory(NULL),
58 network_delegate(NULL), 58 network_delegate(NULL),
59 http_server_properties(NULL), 59 http_server_properties(NULL),
60 net_log(NULL), 60 net_log(NULL),
61 force_http_pipelining(false) {} 61 host_mapping_rules(NULL),
62 force_http_pipelining(false),
63 ignore_certificate_errors(false),
64 http_pipelining_enabled(false),
65 testing_fixed_http_port(0),
66 testing_fixed_https_port(0) {}
62 67
63 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 68 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
64 HttpNetworkSession::HttpNetworkSession(const Params& params) 69 HttpNetworkSession::HttpNetworkSession(const Params& params)
65 : net_log_(params.net_log), 70 : net_log_(params.net_log),
66 network_delegate_(params.network_delegate), 71 network_delegate_(params.network_delegate),
67 http_server_properties_(params.http_server_properties), 72 http_server_properties_(params.http_server_properties),
68 cert_verifier_(params.cert_verifier), 73 cert_verifier_(params.cert_verifier),
69 http_auth_handler_factory_(params.http_auth_handler_factory), 74 http_auth_handler_factory_(params.http_auth_handler_factory),
70 force_http_pipelining_(params.force_http_pipelining), 75 force_http_pipelining_(params.force_http_pipelining),
71 proxy_service_(params.proxy_service), 76 proxy_service_(params.proxy_service),
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 case WEBSOCKET_SOCKET_POOL: 166 case WEBSOCKET_SOCKET_POOL:
162 return websocket_socket_pool_manager_.get(); 167 return websocket_socket_pool_manager_.get();
163 default: 168 default:
164 NOTREACHED(); 169 NOTREACHED();
165 break; 170 break;
166 } 171 }
167 return NULL; 172 return NULL;
168 } 173 }
169 174
170 } // namespace net 175 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_pipelined_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698