| 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/debug/stack_trace.h" | 10 #include "base/debug/stack_trace.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 spdy_initial_max_concurrent_streams(0), | 80 spdy_initial_max_concurrent_streams(0), |
| 81 spdy_max_concurrent_streams_limit(0), | 81 spdy_max_concurrent_streams_limit(0), |
| 82 time_func(&base::TimeTicks::Now), | 82 time_func(&base::TimeTicks::Now), |
| 83 enable_quic(false), | 83 enable_quic(false), |
| 84 enable_quic_https(false), | 84 enable_quic_https(false), |
| 85 quic_clock(NULL), | 85 quic_clock(NULL), |
| 86 quic_random(NULL), | 86 quic_random(NULL), |
| 87 quic_max_packet_length(kDefaultMaxPacketSize), | 87 quic_max_packet_length(kDefaultMaxPacketSize), |
| 88 enable_user_alternate_protocol_ports(false), | 88 enable_user_alternate_protocol_ports(false), |
| 89 quic_crypto_client_stream_factory(NULL) { | 89 quic_crypto_client_stream_factory(NULL) { |
| 90 quic_supported_versions.push_back(QUIC_VERSION_12); | 90 quic_supported_versions.push_back(QUIC_VERSION_13); |
| 91 } | 91 } |
| 92 | 92 |
| 93 HttpNetworkSession::Params::~Params() {} | 93 HttpNetworkSession::Params::~Params() {} |
| 94 | 94 |
| 95 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. | 95 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. |
| 96 HttpNetworkSession::HttpNetworkSession(const Params& params) | 96 HttpNetworkSession::HttpNetworkSession(const Params& params) |
| 97 : net_log_(params.net_log), | 97 : net_log_(params.net_log), |
| 98 network_delegate_(params.network_delegate), | 98 network_delegate_(params.network_delegate), |
| 99 http_server_properties_(params.http_server_properties), | 99 http_server_properties_(params.http_server_properties), |
| 100 cert_verifier_(params.cert_verifier), | 100 cert_verifier_(params.cert_verifier), |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 case WEBSOCKET_SOCKET_POOL: | 226 case WEBSOCKET_SOCKET_POOL: |
| 227 return websocket_socket_pool_manager_.get(); | 227 return websocket_socket_pool_manager_.get(); |
| 228 default: | 228 default: |
| 229 NOTREACHED(); | 229 NOTREACHED(); |
| 230 break; | 230 break; |
| 231 } | 231 } |
| 232 return NULL; | 232 return NULL; |
| 233 } | 233 } |
| 234 | 234 |
| 235 } // namespace net | 235 } // namespace net |
| OLD | NEW |