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

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

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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_atom_list.h ('k') | net/http/http_network_transaction.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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_load_server_info_timeout_srtt_multiplier(0.0f), 92 quic_load_server_info_timeout_srtt_multiplier(0.0f),
93 quic_enable_truncated_connection_ids(false), 93 quic_enable_truncated_connection_ids(false),
94 quic_clock(NULL), 94 quic_clock(NULL),
95 quic_random(NULL), 95 quic_random(NULL),
96 quic_max_packet_length(kDefaultMaxPacketSize), 96 quic_max_packet_length(kDefaultMaxPacketSize),
97 enable_user_alternate_protocol_ports(false), 97 enable_user_alternate_protocol_ports(false),
98 quic_crypto_client_stream_factory(NULL), 98 quic_crypto_client_stream_factory(NULL),
99 proxy_delegate(NULL) { 99 proxy_delegate(NULL) {
100 quic_supported_versions.push_back(QUIC_VERSION_23); 100 quic_supported_versions.push_back(QUIC_VERSION_24);
101 } 101 }
102 102
103 HttpNetworkSession::Params::~Params() {} 103 HttpNetworkSession::Params::~Params() {}
104 104
105 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 105 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
106 HttpNetworkSession::HttpNetworkSession(const Params& params) 106 HttpNetworkSession::HttpNetworkSession(const Params& params)
107 : net_log_(params.net_log), 107 : net_log_(params.net_log),
108 network_delegate_(params.network_delegate), 108 network_delegate_(params.network_delegate),
109 http_server_properties_(params.http_server_properties), 109 http_server_properties_(params.http_server_properties),
110 cert_verifier_(params.cert_verifier), 110 cert_verifier_(params.cert_verifier),
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 case WEBSOCKET_SOCKET_POOL: 311 case WEBSOCKET_SOCKET_POOL:
312 return websocket_socket_pool_manager_.get(); 312 return websocket_socket_pool_manager_.get();
313 default: 313 default:
314 NOTREACHED(); 314 NOTREACHED();
315 break; 315 break;
316 } 316 }
317 return NULL; 317 return NULL;
318 } 318 }
319 319
320 } // namespace net 320 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_atom_list.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698