Chromium Code Reviews| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 bool enable_quic; | 109 bool enable_quic; |
| 110 bool enable_quic_https; | 110 bool enable_quic_https; |
| 111 bool enable_quic_port_selection; | 111 bool enable_quic_port_selection; |
| 112 bool enable_quic_pacing; | 112 bool enable_quic_pacing; |
| 113 bool enable_quic_time_based_loss_detection; | 113 bool enable_quic_time_based_loss_detection; |
| 114 bool enable_quic_persist_server_info; | 114 bool enable_quic_persist_server_info; |
| 115 HostPortPair origin_to_force_quic_on; | 115 HostPortPair origin_to_force_quic_on; |
| 116 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 116 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 117 QuicRandom* quic_random; | 117 QuicRandom* quic_random; |
| 118 size_t quic_max_packet_length; | 118 size_t quic_max_packet_length; |
| 119 std::string client_version; | |
|
Ryan Hamilton
2014/06/05 14:12:15
nit: quic_, please.
ramant (doing other things)
2014/06/05 17:07:49
Done.
| |
| 119 bool enable_user_alternate_protocol_ports; | 120 bool enable_user_alternate_protocol_ports; |
| 120 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 121 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
| 121 QuicVersionVector quic_supported_versions; | 122 QuicVersionVector quic_supported_versions; |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 enum SocketPoolType { | 125 enum SocketPoolType { |
| 125 NORMAL_SOCKET_POOL, | 126 NORMAL_SOCKET_POOL, |
| 126 WEBSOCKET_SOCKET_POOL, | 127 WEBSOCKET_SOCKET_POOL, |
| 127 NUM_SOCKET_POOL_TYPES | 128 NUM_SOCKET_POOL_TYPES |
| 128 }; | 129 }; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 236 | 237 |
| 237 std::vector<std::string> next_protos_; | 238 std::vector<std::string> next_protos_; |
| 238 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 239 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 239 | 240 |
| 240 Params params_; | 241 Params params_; |
| 241 }; | 242 }; |
| 242 | 243 |
| 243 } // namespace net | 244 } // namespace net |
| 244 | 245 |
| 245 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 246 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |