| OLD | NEW |
| 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 Loading... |
| 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 force_http_pipelining(false), |
| 62 ignore_certificate_errors(false), |
| 63 host_mapping_rules(NULL), |
| 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 Loading... |
| 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 |
| OLD | NEW |