| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 // Number of recent connections to consider for certain thresholds | 69 // Number of recent connections to consider for certain thresholds |
| 70 // that trigger disabling QUIC. E.g. disable QUIC if PUBLIC_RESET was | 70 // that trigger disabling QUIC. E.g. disable QUIC if PUBLIC_RESET was |
| 71 // received post handshake for at least 2 of 20 recent connections. | 71 // received post handshake for at least 2 of 20 recent connections. |
| 72 const int32_t kQuicMaxRecentDisabledReasons = 20; | 72 const int32_t kQuicMaxRecentDisabledReasons = 20; |
| 73 | 73 |
| 74 HttpNetworkSession::Params::Params() | 74 HttpNetworkSession::Params::Params() |
| 75 : client_socket_factory(NULL), | 75 : client_socket_factory(NULL), |
| 76 host_resolver(NULL), | 76 host_resolver(NULL), |
| 77 cert_verifier(NULL), | 77 cert_verifier(NULL), |
| 78 ct_policy_enforcer(NULL), | |
| 79 channel_id_service(NULL), | 78 channel_id_service(NULL), |
| 80 transport_security_state(NULL), | 79 transport_security_state(NULL), |
| 81 cert_transparency_verifier(NULL), | 80 cert_transparency_verifier(NULL), |
| 81 ct_policy_enforcer(NULL), |
| 82 proxy_service(NULL), | 82 proxy_service(NULL), |
| 83 ssl_config_service(NULL), | 83 ssl_config_service(NULL), |
| 84 http_auth_handler_factory(NULL), | 84 http_auth_handler_factory(NULL), |
| 85 net_log(NULL), | 85 net_log(NULL), |
| 86 host_mapping_rules(NULL), | 86 host_mapping_rules(NULL), |
| 87 socket_performance_watcher_factory(NULL), | 87 socket_performance_watcher_factory(NULL), |
| 88 ignore_certificate_errors(false), | 88 ignore_certificate_errors(false), |
| 89 testing_fixed_http_port(0), | 89 testing_fixed_http_port(0), |
| 90 testing_fixed_https_port(0), | 90 testing_fixed_https_port(0), |
| 91 enable_tcp_fast_open_for_ssl(false), | 91 enable_tcp_fast_open_for_ssl(false), |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 case WEBSOCKET_SOCKET_POOL: | 405 case WEBSOCKET_SOCKET_POOL: |
| 406 return websocket_socket_pool_manager_.get(); | 406 return websocket_socket_pool_manager_.get(); |
| 407 default: | 407 default: |
| 408 NOTREACHED(); | 408 NOTREACHED(); |
| 409 break; | 409 break; |
| 410 } | 410 } |
| 411 return NULL; | 411 return NULL; |
| 412 } | 412 } |
| 413 | 413 |
| 414 } // namespace net | 414 } // namespace net |
| OLD | NEW |