| 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/atomic_sequence_num.h" | 9 #include "base/atomic_sequence_num.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "net/http/http_response_body_drainer.h" | 21 #include "net/http/http_response_body_drainer.h" |
| 22 #include "net/http/http_stream_factory_impl.h" | 22 #include "net/http/http_stream_factory_impl.h" |
| 23 #include "net/http/url_security_manager.h" | 23 #include "net/http/url_security_manager.h" |
| 24 #include "net/proxy/proxy_service.h" | 24 #include "net/proxy/proxy_service.h" |
| 25 #include "net/quic/chromium/quic_stream_factory.h" | 25 #include "net/quic/chromium/quic_stream_factory.h" |
| 26 #include "net/quic/core/crypto/quic_random.h" | 26 #include "net/quic/core/crypto/quic_random.h" |
| 27 #include "net/quic/core/quic_crypto_client_stream_factory.h" | 27 #include "net/quic/core/quic_crypto_client_stream_factory.h" |
| 28 #include "net/quic/core/quic_packets.h" | 28 #include "net/quic/core/quic_packets.h" |
| 29 #include "net/quic/core/quic_tag.h" | 29 #include "net/quic/core/quic_tag.h" |
| 30 #include "net/quic/core/quic_utils.h" | 30 #include "net/quic/core/quic_utils.h" |
| 31 #include "net/quic/platform/api/quic_clock.h" | 31 #include "net/quic/platform/impl/quic_chromium_clock.h" |
| 32 #include "net/socket/client_socket_factory.h" | 32 #include "net/socket/client_socket_factory.h" |
| 33 #include "net/socket/client_socket_pool_manager_impl.h" | 33 #include "net/socket/client_socket_pool_manager_impl.h" |
| 34 #include "net/socket/next_proto.h" | 34 #include "net/socket/next_proto.h" |
| 35 #include "net/socket/ssl_client_socket.h" | 35 #include "net/socket/ssl_client_socket.h" |
| 36 #include "net/spdy/spdy_session_pool.h" | 36 #include "net/spdy/spdy_session_pool.h" |
| 37 | 37 |
| 38 namespace net { | 38 namespace net { |
| 39 | 39 |
| 40 namespace { | 40 namespace { |
| 41 | 41 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 params.http_server_properties, | 153 params.http_server_properties, |
| 154 params.proxy_delegate, | 154 params.proxy_delegate, |
| 155 params.cert_verifier, | 155 params.cert_verifier, |
| 156 params.ct_policy_enforcer, | 156 params.ct_policy_enforcer, |
| 157 params.channel_id_service, | 157 params.channel_id_service, |
| 158 params.transport_security_state, | 158 params.transport_security_state, |
| 159 params.cert_transparency_verifier, | 159 params.cert_transparency_verifier, |
| 160 params.socket_performance_watcher_factory, | 160 params.socket_performance_watcher_factory, |
| 161 params.quic_crypto_client_stream_factory, | 161 params.quic_crypto_client_stream_factory, |
| 162 params.quic_random ? params.quic_random : QuicRandom::GetInstance(), | 162 params.quic_random ? params.quic_random : QuicRandom::GetInstance(), |
| 163 params.quic_clock ? params.quic_clock : new QuicClock(), | 163 params.quic_clock ? params.quic_clock : new QuicChromiumClock(), |
| 164 params.quic_max_packet_length, | 164 params.quic_max_packet_length, |
| 165 params.quic_user_agent_id, | 165 params.quic_user_agent_id, |
| 166 params.quic_supported_versions, | 166 params.quic_supported_versions, |
| 167 params.quic_always_require_handshake_confirmation, | 167 params.quic_always_require_handshake_confirmation, |
| 168 params.quic_disable_connection_pooling, | 168 params.quic_disable_connection_pooling, |
| 169 params.quic_load_server_info_timeout_srtt_multiplier, | 169 params.quic_load_server_info_timeout_srtt_multiplier, |
| 170 params.quic_enable_connection_racing, | 170 params.quic_enable_connection_racing, |
| 171 params.quic_enable_non_blocking_io, | 171 params.quic_enable_non_blocking_io, |
| 172 params.quic_disable_disk_cache, | 172 params.quic_disable_disk_cache, |
| 173 params.quic_prefer_aes, | 173 params.quic_prefer_aes, |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 break; | 415 break; |
| 416 case base::MemoryState::SUSPENDED: | 416 case base::MemoryState::SUSPENDED: |
| 417 // Note: Not supported at present. Fall through. | 417 // Note: Not supported at present. Fall through. |
| 418 case base::MemoryState::UNKNOWN: | 418 case base::MemoryState::UNKNOWN: |
| 419 NOTREACHED(); | 419 NOTREACHED(); |
| 420 break; | 420 break; |
| 421 } | 421 } |
| 422 } | 422 } |
| 423 | 423 |
| 424 } // namespace net | 424 } // namespace net |
| OLD | NEW |