| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // protocols are disabled. We should use some reasonable | 92 // protocols are disabled. We should use some reasonable |
| 93 // defaults. | 93 // defaults. |
| 94 NextProtoVector next_protos; | 94 NextProtoVector next_protos; |
| 95 size_t spdy_session_max_recv_window_size; | 95 size_t spdy_session_max_recv_window_size; |
| 96 size_t spdy_stream_max_recv_window_size; | 96 size_t spdy_stream_max_recv_window_size; |
| 97 size_t spdy_initial_max_concurrent_streams; | 97 size_t spdy_initial_max_concurrent_streams; |
| 98 SpdySessionPool::TimeFunc time_func; | 98 SpdySessionPool::TimeFunc time_func; |
| 99 std::string trusted_spdy_proxy; | 99 std::string trusted_spdy_proxy; |
| 100 // URLs to exclude from forced SPDY. | 100 // URLs to exclude from forced SPDY. |
| 101 std::set<HostPortPair> forced_spdy_exclusions; | 101 std::set<HostPortPair> forced_spdy_exclusions; |
| 102 // Noe: Using this in the case of NPN for HTTP only results in the browser | 102 bool use_alternative_services; |
| 103 // trying SSL and then falling back to http. | |
| 104 bool use_alternate_protocols; | |
| 105 double alternative_service_probability_threshold; | 103 double alternative_service_probability_threshold; |
| 106 | 104 |
| 107 bool enable_quic; | 105 bool enable_quic; |
| 108 bool enable_insecure_quic; | 106 bool enable_insecure_quic; |
| 109 bool enable_quic_for_proxies; | 107 bool enable_quic_for_proxies; |
| 110 bool enable_quic_port_selection; | 108 bool enable_quic_port_selection; |
| 111 bool quic_always_require_handshake_confirmation; | 109 bool quic_always_require_handshake_confirmation; |
| 112 bool quic_disable_connection_pooling; | 110 bool quic_disable_connection_pooling; |
| 113 float quic_load_server_info_timeout_srtt_multiplier; | 111 float quic_load_server_info_timeout_srtt_multiplier; |
| 114 bool quic_enable_connection_racing; | 112 bool quic_enable_connection_racing; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 239 |
| 242 NextProtoVector next_protos_; | 240 NextProtoVector next_protos_; |
| 243 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 244 | 242 |
| 245 Params params_; | 243 Params params_; |
| 246 }; | 244 }; |
| 247 | 245 |
| 248 } // namespace net | 246 } // namespace net |
| 249 | 247 |
| 250 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |