| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 // Controls whether or not ssl is used when in SPDY mode. | 102 // Controls whether or not ssl is used when in SPDY mode. |
| 103 bool force_spdy_over_ssl; | 103 bool force_spdy_over_ssl; |
| 104 // Controls whether or not SPDY is used without NPN. | 104 // Controls whether or not SPDY is used without NPN. |
| 105 bool force_spdy_always; | 105 bool force_spdy_always; |
| 106 // URLs to exclude from forced SPDY. | 106 // URLs to exclude from forced SPDY. |
| 107 std::set<HostPortPair> forced_spdy_exclusions; | 107 std::set<HostPortPair> forced_spdy_exclusions; |
| 108 // Noe: Using this in the case of NPN for HTTP only results in the browser | 108 // Noe: Using this in the case of NPN for HTTP only results in the browser |
| 109 // trying SSL and then falling back to http. | 109 // trying SSL and then falling back to http. |
| 110 bool use_alternate_protocols; | 110 bool use_alternate_protocols; |
| 111 double alternate_protocol_probability_threshold; | 111 double alternate_protocol_probability_threshold; |
| 112 bool enable_websocket_over_spdy; | |
| 113 | 112 |
| 114 bool enable_quic; | 113 bool enable_quic; |
| 115 bool enable_quic_port_selection; | 114 bool enable_quic_port_selection; |
| 116 bool quic_always_require_handshake_confirmation; | 115 bool quic_always_require_handshake_confirmation; |
| 117 bool quic_disable_connection_pooling; | 116 bool quic_disable_connection_pooling; |
| 118 int quic_load_server_info_timeout_ms; | 117 int quic_load_server_info_timeout_ms; |
| 119 HostPortPair origin_to_force_quic_on; | 118 HostPortPair origin_to_force_quic_on; |
| 120 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 119 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 121 QuicRandom* quic_random; | 120 QuicRandom* quic_random; |
| 122 size_t quic_max_packet_length; | 121 size_t quic_max_packet_length; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 | 242 |
| 244 std::vector<std::string> next_protos_; | 243 std::vector<std::string> next_protos_; |
| 245 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 244 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 246 | 245 |
| 247 Params params_; | 246 Params params_; |
| 248 }; | 247 }; |
| 249 | 248 |
| 250 } // namespace net | 249 } // namespace net |
| 251 | 250 |
| 252 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 251 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |