| 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 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 SpdySessionPool::TimeFunc time_func; | 99 SpdySessionPool::TimeFunc time_func; |
| 100 std::string trusted_spdy_proxy; | 100 std::string trusted_spdy_proxy; |
| 101 // URLs to exclude from forced SPDY. | 101 // URLs to exclude from forced SPDY. |
| 102 std::set<HostPortPair> forced_spdy_exclusions; | 102 std::set<HostPortPair> forced_spdy_exclusions; |
| 103 // Noe: Using this in the case of NPN for HTTP only results in the browser | 103 // Noe: Using this in the case of NPN for HTTP only results in the browser |
| 104 // trying SSL and then falling back to http. | 104 // trying SSL and then falling back to http. |
| 105 bool use_alternate_protocols; | 105 bool use_alternate_protocols; |
| 106 double alternative_service_probability_threshold; | 106 double alternative_service_probability_threshold; |
| 107 | 107 |
| 108 bool enable_quic; | 108 bool enable_quic; |
| 109 bool disable_insecure_quic; |
| 109 bool enable_quic_for_proxies; | 110 bool enable_quic_for_proxies; |
| 110 bool enable_quic_port_selection; | 111 bool enable_quic_port_selection; |
| 111 bool quic_always_require_handshake_confirmation; | 112 bool quic_always_require_handshake_confirmation; |
| 112 bool quic_disable_connection_pooling; | 113 bool quic_disable_connection_pooling; |
| 113 float quic_load_server_info_timeout_srtt_multiplier; | 114 float quic_load_server_info_timeout_srtt_multiplier; |
| 114 bool quic_enable_connection_racing; | 115 bool quic_enable_connection_racing; |
| 115 bool quic_enable_non_blocking_io; | 116 bool quic_enable_non_blocking_io; |
| 116 bool quic_disable_disk_cache; | 117 bool quic_disable_disk_cache; |
| 117 int quic_max_number_of_lossy_connections; | 118 int quic_max_number_of_lossy_connections; |
| 118 float quic_packet_loss_threshold; | 119 float quic_packet_loss_threshold; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 240 |
| 240 NextProtoVector next_protos_; | 241 NextProtoVector next_protos_; |
| 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 242 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 242 | 243 |
| 243 Params params_; | 244 Params params_; |
| 244 }; | 245 }; |
| 245 | 246 |
| 246 } // namespace net | 247 } // namespace net |
| 247 | 248 |
| 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 249 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |