Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: net/http/http_network_session.h

Issue 2600943002: Cleanup the preconnect to proxy code and Job controller code (Closed)
Patch Set: rch comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
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
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_
OLDNEW
« no previous file with comments | « components/network_session_configurator/network_session_configurator.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698