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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "net/http/http_pipelined_host_pool.h" | 23 #include "net/http/http_pipelined_host_pool.h" |
24 #include "net/http/http_pipelined_stream.h" | 24 #include "net/http/http_pipelined_stream.h" |
25 #include "net/http/http_proxy_client_socket.h" | 25 #include "net/http/http_proxy_client_socket.h" |
26 #include "net/http/http_proxy_client_socket_pool.h" | 26 #include "net/http/http_proxy_client_socket_pool.h" |
27 #include "net/http/http_request_info.h" | 27 #include "net/http/http_request_info.h" |
28 #include "net/http/http_server_properties.h" | 28 #include "net/http/http_server_properties.h" |
29 #include "net/http/http_stream_factory.h" | 29 #include "net/http/http_stream_factory.h" |
30 #include "net/http/http_stream_factory_impl_request.h" | 30 #include "net/http/http_stream_factory_impl_request.h" |
31 #include "net/socket/client_socket_handle.h" | 31 #include "net/socket/client_socket_handle.h" |
32 #include "net/socket/client_socket_pool.h" | 32 #include "net/socket/client_socket_pool.h" |
| 33 #include "net/socket/client_socket_pool_manager.h" |
33 #include "net/socket/socks_client_socket_pool.h" | 34 #include "net/socket/socks_client_socket_pool.h" |
34 #include "net/socket/ssl_client_socket.h" | 35 #include "net/socket/ssl_client_socket.h" |
35 #include "net/socket/ssl_client_socket_pool.h" | 36 #include "net/socket/ssl_client_socket_pool.h" |
36 #include "net/spdy/spdy_http_stream.h" | 37 #include "net/spdy/spdy_http_stream.h" |
37 #include "net/spdy/spdy_session.h" | 38 #include "net/spdy/spdy_session.h" |
38 #include "net/spdy/spdy_session_pool.h" | 39 #include "net/spdy/spdy_session_pool.h" |
39 | 40 |
40 namespace net { | 41 namespace net { |
41 | 42 |
42 // Parameters associated with the start of a HTTP stream job. | 43 // Parameters associated with the start of a HTTP stream job. |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 return false; | 1244 return false; |
1244 } | 1245 } |
1245 if (request_info_.method != "GET" && request_info_.method != "HEAD") { | 1246 if (request_info_.method != "GET" && request_info_.method != "HEAD") { |
1246 return false; | 1247 return false; |
1247 } | 1248 } |
1248 return stream_factory_->http_pipelined_host_pool_.IsKeyEligibleForPipelining( | 1249 return stream_factory_->http_pipelined_host_pool_.IsKeyEligibleForPipelining( |
1249 *http_pipelining_key_.get()); | 1250 *http_pipelining_key_.get()); |
1250 } | 1251 } |
1251 | 1252 |
1252 } // namespace net | 1253 } // namespace net |
OLD | NEW |