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

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

Issue 968573002: Revert of Revert of Add a new enable_nonblocking_io field trial param for QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 alternate_protocol_probability_threshold(1), 87 alternate_protocol_probability_threshold(1),
88 enable_quic(false), 88 enable_quic(false),
89 enable_quic_for_proxies(false), 89 enable_quic_for_proxies(false),
90 enable_quic_port_selection(true), 90 enable_quic_port_selection(true),
91 quic_always_require_handshake_confirmation(false), 91 quic_always_require_handshake_confirmation(false),
92 quic_disable_connection_pooling(false), 92 quic_disable_connection_pooling(false),
93 quic_load_server_info_timeout_ms(0), 93 quic_load_server_info_timeout_ms(0),
94 quic_load_server_info_timeout_srtt_multiplier(0.0f), 94 quic_load_server_info_timeout_srtt_multiplier(0.0f),
95 quic_enable_truncated_connection_ids(false), 95 quic_enable_truncated_connection_ids(false),
96 quic_enable_connection_racing(false), 96 quic_enable_connection_racing(false),
97 quic_enable_non_blocking_io(false),
97 quic_disable_disk_cache(false), 98 quic_disable_disk_cache(false),
98 quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer), 99 quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer),
99 quic_clock(NULL), 100 quic_clock(NULL),
100 quic_random(NULL), 101 quic_random(NULL),
101 quic_max_packet_length(kDefaultMaxPacketSize), 102 quic_max_packet_length(kDefaultMaxPacketSize),
102 enable_user_alternate_protocol_ports(false), 103 enable_user_alternate_protocol_ports(false),
103 quic_crypto_client_stream_factory(NULL), 104 quic_crypto_client_stream_factory(NULL),
104 proxy_delegate(NULL) { 105 proxy_delegate(NULL) {
105 quic_supported_versions.push_back(QUIC_VERSION_24); 106 quic_supported_versions.push_back(QUIC_VERSION_24);
106 } 107 }
(...skipping 28 matching lines...) Expand all
135 params.quic_max_packet_length, 136 params.quic_max_packet_length,
136 params.quic_user_agent_id, 137 params.quic_user_agent_id,
137 params.quic_supported_versions, 138 params.quic_supported_versions,
138 params.enable_quic_port_selection, 139 params.enable_quic_port_selection,
139 params.quic_always_require_handshake_confirmation, 140 params.quic_always_require_handshake_confirmation,
140 params.quic_disable_connection_pooling, 141 params.quic_disable_connection_pooling,
141 params.quic_load_server_info_timeout_ms, 142 params.quic_load_server_info_timeout_ms,
142 params.quic_load_server_info_timeout_srtt_multiplier, 143 params.quic_load_server_info_timeout_srtt_multiplier,
143 params.quic_enable_truncated_connection_ids, 144 params.quic_enable_truncated_connection_ids,
144 params.quic_enable_connection_racing, 145 params.quic_enable_connection_racing,
146 params.quic_enable_non_blocking_io,
145 params.quic_disable_disk_cache, 147 params.quic_disable_disk_cache,
146 params.quic_socket_receive_buffer_size, 148 params.quic_socket_receive_buffer_size,
147 params.quic_connection_options), 149 params.quic_connection_options),
148 spdy_session_pool_(params.host_resolver, 150 spdy_session_pool_(params.host_resolver,
149 params.ssl_config_service, 151 params.ssl_config_service,
150 params.http_server_properties, 152 params.http_server_properties,
151 params.transport_security_state, 153 params.transport_security_state,
152 params.force_spdy_single_domain, 154 params.force_spdy_single_domain,
153 params.enable_spdy_compression, 155 params.enable_spdy_compression,
154 params.enable_spdy_ping_based_connection_checking, 156 params.enable_spdy_ping_based_connection_checking,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 case WEBSOCKET_SOCKET_POOL: 322 case WEBSOCKET_SOCKET_POOL:
321 return websocket_socket_pool_manager_.get(); 323 return websocket_socket_pool_manager_.get();
322 default: 324 default:
323 NOTREACHED(); 325 NOTREACHED();
324 break; 326 break;
325 } 327 }
326 return NULL; 328 return NULL;
327 } 329 }
328 330
329 } // namespace net 331 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698