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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 bool enable_quic_pacing; | 111 bool enable_quic_pacing; |
112 bool enable_quic_time_based_loss_detection; | 112 bool enable_quic_time_based_loss_detection; |
113 bool enable_quic_persist_server_info; | 113 bool enable_quic_persist_server_info; |
114 HostPortPair origin_to_force_quic_on; | 114 HostPortPair origin_to_force_quic_on; |
115 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 115 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
116 QuicRandom* quic_random; | 116 QuicRandom* quic_random; |
117 size_t quic_max_packet_length; | 117 size_t quic_max_packet_length; |
118 bool enable_user_alternate_protocol_ports; | 118 bool enable_user_alternate_protocol_ports; |
119 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 119 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
120 QuicVersionVector quic_supported_versions; | 120 QuicVersionVector quic_supported_versions; |
121 | |
122 bool enable_websocket_over_spdy; | |
Ryan Hamilton
2014/05/29 19:26:50
Looks like there is not an empty line before the o
mmenke
2014/05/29 19:53:13
Done, though not sure I agree - SPDY and QUIC sett
| |
121 }; | 123 }; |
122 | 124 |
123 enum SocketPoolType { | 125 enum SocketPoolType { |
124 NORMAL_SOCKET_POOL, | 126 NORMAL_SOCKET_POOL, |
125 WEBSOCKET_SOCKET_POOL, | 127 WEBSOCKET_SOCKET_POOL, |
126 NUM_SOCKET_POOL_TYPES | 128 NUM_SOCKET_POOL_TYPES |
127 }; | 129 }; |
128 | 130 |
129 explicit HttpNetworkSession(const Params& params); | 131 explicit HttpNetworkSession(const Params& params); |
130 | 132 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 | 237 |
236 std::vector<std::string> next_protos_; | 238 std::vector<std::string> next_protos_; |
237 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 239 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
238 | 240 |
239 Params params_; | 241 Params params_; |
240 }; | 242 }; |
241 | 243 |
242 } // namespace net | 244 } // namespace net |
243 | 245 |
244 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 246 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |