| 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 30 matching lines...) Expand all Loading... |
| 41 #include "net/log/net_log_source.h" | 41 #include "net/log/net_log_source.h" |
| 42 #include "net/log/net_log_source_type.h" | 42 #include "net/log/net_log_source_type.h" |
| 43 #include "net/quic/chromium/quic_http_stream.h" | 43 #include "net/quic/chromium/quic_http_stream.h" |
| 44 #include "net/socket/client_socket_handle.h" | 44 #include "net/socket/client_socket_handle.h" |
| 45 #include "net/socket/client_socket_pool.h" | 45 #include "net/socket/client_socket_pool.h" |
| 46 #include "net/socket/client_socket_pool_manager.h" | 46 #include "net/socket/client_socket_pool_manager.h" |
| 47 #include "net/socket/socks_client_socket_pool.h" | 47 #include "net/socket/socks_client_socket_pool.h" |
| 48 #include "net/socket/ssl_client_socket.h" | 48 #include "net/socket/ssl_client_socket.h" |
| 49 #include "net/socket/ssl_client_socket_pool.h" | 49 #include "net/socket/ssl_client_socket_pool.h" |
| 50 #include "net/socket/stream_socket.h" | 50 #include "net/socket/stream_socket.h" |
| 51 #include "net/spdy/bidirectional_stream_spdy_impl.h" | 51 #include "net/spdy/chromium/bidirectional_stream_spdy_impl.h" |
| 52 #include "net/spdy/spdy_http_stream.h" | 52 #include "net/spdy/chromium/spdy_http_stream.h" |
| 53 #include "net/spdy/spdy_protocol.h" | 53 #include "net/spdy/chromium/spdy_session.h" |
| 54 #include "net/spdy/spdy_session.h" | 54 #include "net/spdy/chromium/spdy_session_pool.h" |
| 55 #include "net/spdy/spdy_session_pool.h" | 55 #include "net/spdy/core/spdy_protocol.h" |
| 56 #include "net/ssl/channel_id_service.h" | 56 #include "net/ssl/channel_id_service.h" |
| 57 #include "net/ssl/ssl_cert_request_info.h" | 57 #include "net/ssl/ssl_cert_request_info.h" |
| 58 #include "url/url_constants.h" | 58 #include "url/url_constants.h" |
| 59 | 59 |
| 60 namespace net { | 60 namespace net { |
| 61 | 61 |
| 62 namespace { | 62 namespace { |
| 63 | 63 |
| 64 // Experiment to preconnect only one connection if HttpServerProperties is | 64 // Experiment to preconnect only one connection if HttpServerProperties is |
| 65 // not supported or initialized. | 65 // not supported or initialized. |
| (...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1559 | 1559 |
| 1560 ConnectionAttempts socket_attempts = connection_->connection_attempts(); | 1560 ConnectionAttempts socket_attempts = connection_->connection_attempts(); |
| 1561 if (connection_->socket()) { | 1561 if (connection_->socket()) { |
| 1562 connection_->socket()->GetConnectionAttempts(&socket_attempts); | 1562 connection_->socket()->GetConnectionAttempts(&socket_attempts); |
| 1563 } | 1563 } |
| 1564 | 1564 |
| 1565 delegate_->AddConnectionAttemptsToRequest(this, socket_attempts); | 1565 delegate_->AddConnectionAttemptsToRequest(this, socket_attempts); |
| 1566 } | 1566 } |
| 1567 | 1567 |
| 1568 } // namespace net | 1568 } // namespace net |
| OLD | NEW |