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

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

Issue 975613002: QUIC - minor cleanup of the following field trials and used defaults for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set default value for srtt_multiplier in net 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 time_func(&base::TimeTicks::Now), 83 time_func(&base::TimeTicks::Now),
84 force_spdy_over_ssl(true), 84 force_spdy_over_ssl(true),
85 force_spdy_always(false), 85 force_spdy_always(false),
86 use_alternate_protocols(false), 86 use_alternate_protocols(false),
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_srtt_multiplier(0.25f),
94 quic_load_server_info_timeout_srtt_multiplier(0.0f),
95 quic_enable_truncated_connection_ids(false),
96 quic_enable_connection_racing(false), 94 quic_enable_connection_racing(false),
97 quic_enable_non_blocking_io(false), 95 quic_enable_non_blocking_io(false),
98 quic_disable_disk_cache(false), 96 quic_disable_disk_cache(false),
99 quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer), 97 quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer),
100 quic_clock(NULL), 98 quic_clock(NULL),
101 quic_random(NULL), 99 quic_random(NULL),
102 quic_max_packet_length(kDefaultMaxPacketSize), 100 quic_max_packet_length(kDefaultMaxPacketSize),
103 enable_user_alternate_protocol_ports(false), 101 enable_user_alternate_protocol_ports(false),
104 quic_crypto_client_stream_factory(NULL), 102 quic_crypto_client_stream_factory(NULL),
105 proxy_delegate(NULL) { 103 proxy_delegate(NULL) {
(...skipping 26 matching lines...) Expand all
132 params.transport_security_state, 130 params.transport_security_state,
133 params.quic_crypto_client_stream_factory, 131 params.quic_crypto_client_stream_factory,
134 params.quic_random ? params.quic_random : QuicRandom::GetInstance(), 132 params.quic_random ? params.quic_random : QuicRandom::GetInstance(),
135 params.quic_clock ? params.quic_clock : new QuicClock(), 133 params.quic_clock ? params.quic_clock : new QuicClock(),
136 params.quic_max_packet_length, 134 params.quic_max_packet_length,
137 params.quic_user_agent_id, 135 params.quic_user_agent_id,
138 params.quic_supported_versions, 136 params.quic_supported_versions,
139 params.enable_quic_port_selection, 137 params.enable_quic_port_selection,
140 params.quic_always_require_handshake_confirmation, 138 params.quic_always_require_handshake_confirmation,
141 params.quic_disable_connection_pooling, 139 params.quic_disable_connection_pooling,
142 params.quic_load_server_info_timeout_ms,
143 params.quic_load_server_info_timeout_srtt_multiplier, 140 params.quic_load_server_info_timeout_srtt_multiplier,
144 params.quic_enable_truncated_connection_ids,
145 params.quic_enable_connection_racing, 141 params.quic_enable_connection_racing,
146 params.quic_enable_non_blocking_io, 142 params.quic_enable_non_blocking_io,
147 params.quic_disable_disk_cache, 143 params.quic_disable_disk_cache,
148 params.quic_socket_receive_buffer_size, 144 params.quic_socket_receive_buffer_size,
149 params.quic_connection_options), 145 params.quic_connection_options),
150 spdy_session_pool_(params.host_resolver, 146 spdy_session_pool_(params.host_resolver,
151 params.ssl_config_service, 147 params.ssl_config_service,
152 params.http_server_properties, 148 params.http_server_properties,
153 params.transport_security_state, 149 params.transport_security_state,
154 params.force_spdy_single_domain, 150 params.force_spdy_single_domain,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 case WEBSOCKET_SOCKET_POOL: 318 case WEBSOCKET_SOCKET_POOL:
323 return websocket_socket_pool_manager_.get(); 319 return websocket_socket_pool_manager_.get();
324 default: 320 default:
325 NOTREACHED(); 321 NOTREACHED();
326 break; 322 break;
327 } 323 }
328 return NULL; 324 return NULL;
329 } 325 }
330 326
331 } // namespace net 327 } // 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