| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |