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

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 10 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/http/http_network_transaction_unittest.cc » ('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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 time_func(&base::TimeTicks::Now), 82 time_func(&base::TimeTicks::Now),
83 force_spdy_over_ssl(true), 83 force_spdy_over_ssl(true),
84 force_spdy_always(false), 84 force_spdy_always(false),
85 use_alternate_protocols(false), 85 use_alternate_protocols(false),
86 alternate_protocol_probability_threshold(1), 86 alternate_protocol_probability_threshold(1),
87 enable_quic(false), 87 enable_quic(false),
88 enable_quic_port_selection(true), 88 enable_quic_port_selection(true),
89 quic_always_require_handshake_confirmation(false), 89 quic_always_require_handshake_confirmation(false),
90 quic_disable_connection_pooling(false), 90 quic_disable_connection_pooling(false),
91 quic_load_server_info_timeout_ms(0), 91 quic_load_server_info_timeout_ms(0),
92 quic_disable_loading_server_info_for_new_servers(false),
93 quic_load_server_info_timeout_srtt_multiplier(0.0f), 92 quic_load_server_info_timeout_srtt_multiplier(0.0f),
94 quic_enable_truncated_connection_ids(false), 93 quic_enable_truncated_connection_ids(false),
95 quic_clock(NULL), 94 quic_clock(NULL),
96 quic_random(NULL), 95 quic_random(NULL),
97 quic_max_packet_length(kDefaultMaxPacketSize), 96 quic_max_packet_length(kDefaultMaxPacketSize),
98 enable_user_alternate_protocol_ports(false), 97 enable_user_alternate_protocol_ports(false),
99 quic_crypto_client_stream_factory(NULL), 98 quic_crypto_client_stream_factory(NULL),
100 proxy_delegate(NULL) { 99 proxy_delegate(NULL) {
101 quic_supported_versions.push_back(QUIC_VERSION_23); 100 quic_supported_versions.push_back(QUIC_VERSION_23);
102 } 101 }
(...skipping 25 matching lines...) Expand all
128 params.quic_crypto_client_stream_factory, 127 params.quic_crypto_client_stream_factory,
129 params.quic_random ? params.quic_random : QuicRandom::GetInstance(), 128 params.quic_random ? params.quic_random : QuicRandom::GetInstance(),
130 params.quic_clock ? params.quic_clock : new QuicClock(), 129 params.quic_clock ? params.quic_clock : new QuicClock(),
131 params.quic_max_packet_length, 130 params.quic_max_packet_length,
132 params.quic_user_agent_id, 131 params.quic_user_agent_id,
133 params.quic_supported_versions, 132 params.quic_supported_versions,
134 params.enable_quic_port_selection, 133 params.enable_quic_port_selection,
135 params.quic_always_require_handshake_confirmation, 134 params.quic_always_require_handshake_confirmation,
136 params.quic_disable_connection_pooling, 135 params.quic_disable_connection_pooling,
137 params.quic_load_server_info_timeout_ms, 136 params.quic_load_server_info_timeout_ms,
138 params.quic_disable_loading_server_info_for_new_servers,
139 params.quic_load_server_info_timeout_srtt_multiplier, 137 params.quic_load_server_info_timeout_srtt_multiplier,
140 params.quic_enable_truncated_connection_ids, 138 params.quic_enable_truncated_connection_ids,
141 params.quic_connection_options), 139 params.quic_connection_options),
142 spdy_session_pool_(params.host_resolver, 140 spdy_session_pool_(params.host_resolver,
143 params.ssl_config_service, 141 params.ssl_config_service,
144 params.http_server_properties, 142 params.http_server_properties,
145 params.transport_security_state, 143 params.transport_security_state,
146 params.force_spdy_single_domain, 144 params.force_spdy_single_domain,
147 params.enable_spdy_compression, 145 params.enable_spdy_compression,
148 params.enable_spdy_ping_based_connection_checking, 146 params.enable_spdy_ping_based_connection_checking,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 case WEBSOCKET_SOCKET_POOL: 311 case WEBSOCKET_SOCKET_POOL:
314 return websocket_socket_pool_manager_.get(); 312 return websocket_socket_pool_manager_.get();
315 default: 313 default:
316 NOTREACHED(); 314 NOTREACHED();
317 break; 315 break;
318 } 316 }
319 return NULL; 317 return NULL;
320 } 318 }
321 319
322 } // namespace net 320 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698