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

Side by Side Diff: net/http/http_stream_factory_impl.h

Issue 2600943002: Cleanup the preconnect to proxy code and Job controller code (Closed)
Patch Set: rch comments Created 3 years, 11 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 | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl.cc » ('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 #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
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_
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698