| 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 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 std::unique_ptr<JobFactory> job_factory_; | 161 std::unique_ptr<JobFactory> job_factory_; |
| 162 | 162 |
| 163 // Set of proxy servers that support request priorities to which subsequent | 163 // Set of proxy servers that support request priorities to which subsequent |
| 164 // preconnects should be skipped. | 164 // preconnects should be skipped. |
| 165 std::set<ProxyServer> preconnecting_proxy_servers_; | 165 std::set<ProxyServer> preconnecting_proxy_servers_; |
| 166 | 166 |
| 167 SpdySessionRequestMap spdy_session_request_map_; | 167 SpdySessionRequestMap spdy_session_request_map_; |
| 168 | 168 |
| 169 const bool for_websockets_; | 169 const bool for_websockets_; |
| 170 | 170 |
| 171 // True if only one preconnect is allowed to proxy servers that support | |
| 172 // request priorities. | |
| 173 const bool allow_only_one_preconnect_to_proxy_servers_; | |
| 174 | |
| 175 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 171 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
| 176 }; | 172 }; |
| 177 | 173 |
| 178 } // namespace net | 174 } // namespace net |
| 179 | 175 |
| 180 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 176 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| OLD | NEW |