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

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

Issue 2778943002: Pass HttpServerProperties in to QuicHttpStream so that it can mark QUIC broken. (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « no previous file | net/quic/chromium/quic_http_stream.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_stream_factory_impl_job.h" 5 #include "net/http/http_stream_factory_impl_job.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 pac_request_(NULL), 209 pac_request_(NULL),
210 destination_(destination), 210 destination_(destination),
211 origin_url_(origin_url), 211 origin_url_(origin_url),
212 alternative_service_(alternative_service), 212 alternative_service_(alternative_service),
213 alternative_proxy_server_(alternative_proxy_server), 213 alternative_proxy_server_(alternative_proxy_server),
214 delegate_(delegate), 214 delegate_(delegate),
215 job_type_(job_type), 215 job_type_(job_type),
216 using_ssl_(false), 216 using_ssl_(false),
217 using_spdy_(false), 217 using_spdy_(false),
218 using_quic_(false), 218 using_quic_(false),
219 quic_request_(session_->quic_stream_factory()), 219 quic_request_(session_->quic_stream_factory(),
220 session_->http_server_properties()),
220 using_existing_quic_session_(false), 221 using_existing_quic_session_(false),
221 establishing_tunnel_(false), 222 establishing_tunnel_(false),
222 was_alpn_negotiated_(false), 223 was_alpn_negotiated_(false),
223 negotiated_protocol_(kProtoUnknown), 224 negotiated_protocol_(kProtoUnknown),
224 num_streams_(0), 225 num_streams_(0),
225 spdy_session_direct_(false), 226 spdy_session_direct_(false),
226 stream_type_(HttpStreamRequest::BIDIRECTIONAL_STREAM), 227 stream_type_(HttpStreamRequest::BIDIRECTIONAL_STREAM),
227 ptr_factory_(this) { 228 ptr_factory_(this) {
228 DCHECK(session); 229 DCHECK(session);
229 // The job can't have alternative service and alternative proxy server set at 230 // The job can't have alternative service and alternative proxy server set at
(...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 1558
1558 ConnectionAttempts socket_attempts = connection_->connection_attempts(); 1559 ConnectionAttempts socket_attempts = connection_->connection_attempts();
1559 if (connection_->socket()) { 1560 if (connection_->socket()) {
1560 connection_->socket()->GetConnectionAttempts(&socket_attempts); 1561 connection_->socket()->GetConnectionAttempts(&socket_attempts);
1561 } 1562 }
1562 1563
1563 delegate_->AddConnectionAttemptsToRequest(this, socket_attempts); 1564 delegate_->AddConnectionAttemptsToRequest(this, socket_attempts);
1564 } 1565 }
1565 1566
1566 } // namespace net 1567 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/quic/chromium/quic_http_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698