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

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

Issue 2830563002: Remove the unused "Disable non-blocking IO" QUIC experiment code. (Closed)
Patch Set: Rebase Created 3 years, 8 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool enable_http2_alternative_service; 115 bool enable_http2_alternative_service;
116 116
117 // Enables QUIC support. 117 // Enables QUIC support.
118 bool enable_quic; 118 bool enable_quic;
119 // Marks a QUIC server broken when a connection blackholes after the 119 // Marks a QUIC server broken when a connection blackholes after the
120 // handshake is confirmed. 120 // handshake is confirmed.
121 bool mark_quic_broken_when_network_blackholes; 121 bool mark_quic_broken_when_network_blackholes;
122 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC 122 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC
123 // broken if the retry succeeds. 123 // broken if the retry succeeds.
124 bool retry_without_alt_svc_on_quic_errors; 124 bool retry_without_alt_svc_on_quic_errors;
125 // Use non-blocking IO for UDP sockets.
126 bool quic_enable_non_blocking_io;
127 // Maximum number of server configs that are to be stored in 125 // Maximum number of server configs that are to be stored in
128 // HttpServerProperties, instead of the disk cache. 126 // HttpServerProperties, instead of the disk cache.
129 size_t quic_max_server_configs_stored_in_properties; 127 size_t quic_max_server_configs_stored_in_properties;
130 // If not empty, QUIC will be used for all connections to the set of 128 // If not empty, QUIC will be used for all connections to the set of
131 // origins in |origins_to_force_quic_on|. 129 // origins in |origins_to_force_quic_on|.
132 std::set<HostPortPair> origins_to_force_quic_on; 130 std::set<HostPortPair> origins_to_force_quic_on;
133 // Source of time for QUIC connections. 131 // Source of time for QUIC connections.
134 QuicClock* quic_clock; 132 QuicClock* quic_clock;
135 // Source of entropy for QUIC connections. 133 // Source of entropy for QUIC connections.
136 QuicRandom* quic_random; 134 QuicRandom* quic_random;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 NextProtoVector next_protos_; 321 NextProtoVector next_protos_;
324 322
325 Params params_; 323 Params params_;
326 324
327 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 325 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
328 }; 326 };
329 327
330 } // namespace net 328 } // namespace net
331 329
332 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 330 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « components/network_session_configurator/network_session_configurator_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698