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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 187 // If true, configure QUIC sockets to not fragment packets. | 187 // If true, configure QUIC sockets to not fragment packets. |
| 188 bool quic_do_not_fragment; | 188 bool quic_do_not_fragment; |
| 189 | 189 |
| 190 ProxyDelegate* proxy_delegate; | 190 ProxyDelegate* proxy_delegate; |
| 191 // Enable support for Token Binding. | 191 // Enable support for Token Binding. |
| 192 bool enable_token_binding; | 192 bool enable_token_binding; |
| 193 | 193 |
| 194 // Enable HTTP/0.9 for HTTP/HTTPS on ports other than the default one for | 194 // Enable HTTP/0.9 for HTTP/HTTPS on ports other than the default one for |
| 195 // each protocol. | 195 // each protocol. |
| 196 bool http_09_on_non_default_ports_enabled; | 196 bool http_09_on_non_default_ports_enabled; |
| 197 | |
| 198 // If true, only one pending preconnect is allowed to proxies that support | |
| 199 // request priorities. | |
| 200 bool restrict_to_one_preconnect_for_proxies; | |
|
Ryan Hamilton
2016/12/28 18:44:38
Does this need to be initialized false in the .cc
tbansal1
2016/12/28 20:15:06
Done. I was relying on network_session_configurato
| |
| 197 }; | 201 }; |
| 198 | 202 |
| 199 enum SocketPoolType { | 203 enum SocketPoolType { |
| 200 NORMAL_SOCKET_POOL, | 204 NORMAL_SOCKET_POOL, |
| 201 WEBSOCKET_SOCKET_POOL, | 205 WEBSOCKET_SOCKET_POOL, |
| 202 NUM_SOCKET_POOL_TYPES | 206 NUM_SOCKET_POOL_TYPES |
| 203 }; | 207 }; |
| 204 | 208 |
| 205 explicit HttpNetworkSession(const Params& params); | 209 explicit HttpNetworkSession(const Params& params); |
| 206 ~HttpNetworkSession() override; | 210 ~HttpNetworkSession() override; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 322 NextProtoVector next_protos_; | 326 NextProtoVector next_protos_; |
| 323 | 327 |
| 324 Params params_; | 328 Params params_; |
| 325 | 329 |
| 326 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 330 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 327 }; | 331 }; |
| 328 | 332 |
| 329 } // namespace net | 333 } // namespace net |
| 330 | 334 |
| 331 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 335 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |