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

Side by Side Diff: net/spdy/chromium/spdy_test_util_common.cc

Issue 2814633003: Extract Proxy Resolution out of HttpStreamFactoryImpl::Job (Closed)
Patch Set: rebased Created 3 years, 7 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_stream_factory_test_util.cc ('k') | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/spdy/chromium/spdy_test_util_common.h" 5 #include "net/spdy/chromium/spdy_test_util_common.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <utility> 10 #include <utility>
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 params.transport_security_state = 394 params.transport_security_state =
395 session_deps->transport_security_state.get(); 395 session_deps->transport_security_state.get();
396 params.cert_transparency_verifier = 396 params.cert_transparency_verifier =
397 session_deps->cert_transparency_verifier.get(); 397 session_deps->cert_transparency_verifier.get();
398 params.ct_policy_enforcer = session_deps->ct_policy_enforcer.get(); 398 params.ct_policy_enforcer = session_deps->ct_policy_enforcer.get();
399 params.proxy_service = session_deps->proxy_service.get(); 399 params.proxy_service = session_deps->proxy_service.get();
400 params.ssl_config_service = session_deps->ssl_config_service.get(); 400 params.ssl_config_service = session_deps->ssl_config_service.get();
401 params.http_auth_handler_factory = 401 params.http_auth_handler_factory =
402 session_deps->http_auth_handler_factory.get(); 402 session_deps->http_auth_handler_factory.get();
403 params.http_server_properties = session_deps->http_server_properties.get(); 403 params.http_server_properties = session_deps->http_server_properties.get();
404 params.client_socket_factory = session_deps->socket_factory.get();
404 params.enable_spdy_ping_based_connection_checking = session_deps->enable_ping; 405 params.enable_spdy_ping_based_connection_checking = session_deps->enable_ping;
405 params.enable_user_alternate_protocol_ports = 406 params.enable_user_alternate_protocol_ports =
406 session_deps->enable_user_alternate_protocol_ports; 407 session_deps->enable_user_alternate_protocol_ports;
407 params.enable_quic = session_deps->enable_quic; 408 params.enable_quic = session_deps->enable_quic;
408 params.enable_server_push_cancellation = 409 params.enable_server_push_cancellation =
409 session_deps->enable_server_push_cancellation; 410 session_deps->enable_server_push_cancellation;
410 params.spdy_session_max_recv_window_size = 411 params.spdy_session_max_recv_window_size =
411 session_deps->session_max_recv_window_size; 412 session_deps->session_max_recv_window_size;
412 params.http2_settings = session_deps->http2_settings; 413 params.http2_settings = session_deps->http2_settings;
413 params.time_func = session_deps->time_func; 414 params.time_func = session_deps->time_func;
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 headers[GetSchemeKey()] = scheme.c_str(); 1157 headers[GetSchemeKey()] = scheme.c_str();
1157 headers[GetPathKey()] = path.c_str(); 1158 headers[GetPathKey()] = path.c_str();
1158 if (content_length) { 1159 if (content_length) {
1159 SpdyString length_str = base::Int64ToString(*content_length); 1160 SpdyString length_str = base::Int64ToString(*content_length);
1160 headers["content-length"] = length_str; 1161 headers["content-length"] = length_str;
1161 } 1162 }
1162 return headers; 1163 return headers;
1163 } 1164 }
1164 1165
1165 } // namespace net 1166 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_test_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698