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

Side by Side Diff: net/spdy/spdy_session_pool.h

Issue 169053004: Remove a bunch of unused network flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/spdy/spdy_session_pool.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_SPDY_SPDY_SESSION_POOL_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_POOL_H_
6 #define NET_SPDY_SPDY_SESSION_POOL_H_ 6 #define NET_SPDY_SPDY_SESSION_POOL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 typedef base::TimeTicks (*TimeFunc)(void); 44 typedef base::TimeTicks (*TimeFunc)(void);
45 45
46 // |default_protocol| may be kProtoUnknown (e.g., if SPDY is 46 // |default_protocol| may be kProtoUnknown (e.g., if SPDY is
47 // disabled), in which case it's set to a default value. Otherwise, 47 // disabled), in which case it's set to a default value. Otherwise,
48 // it must be a SPDY protocol. 48 // it must be a SPDY protocol.
49 SpdySessionPool( 49 SpdySessionPool(
50 HostResolver* host_resolver, 50 HostResolver* host_resolver,
51 SSLConfigService* ssl_config_service, 51 SSLConfigService* ssl_config_service,
52 const base::WeakPtr<HttpServerProperties>& http_server_properties, 52 const base::WeakPtr<HttpServerProperties>& http_server_properties,
53 bool force_single_domain, 53 bool force_single_domain,
54 bool enable_ip_pooling,
55 bool enable_compression, 54 bool enable_compression,
56 bool enable_ping_based_connection_checking, 55 bool enable_ping_based_connection_checking,
57 NextProto default_protocol, 56 NextProto default_protocol,
58 size_t stream_initial_recv_window_size, 57 size_t stream_initial_recv_window_size,
59 size_t initial_max_concurrent_streams, 58 size_t initial_max_concurrent_streams,
60 size_t max_concurrent_streams_limit, 59 size_t max_concurrent_streams_limit,
61 SpdySessionPool::TimeFunc time_func, 60 SpdySessionPool::TimeFunc time_func,
62 const std::string& trusted_spdy_proxy); 61 const std::string& trusted_spdy_proxy);
63 virtual ~SpdySessionPool(); 62 virtual ~SpdySessionPool();
64 63
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 207
209 static bool g_force_single_domain; 208 static bool g_force_single_domain;
210 209
211 const scoped_refptr<SSLConfigService> ssl_config_service_; 210 const scoped_refptr<SSLConfigService> ssl_config_service_;
212 HostResolver* const resolver_; 211 HostResolver* const resolver_;
213 212
214 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. 213 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests.
215 bool verify_domain_authentication_; 214 bool verify_domain_authentication_;
216 bool enable_sending_initial_data_; 215 bool enable_sending_initial_data_;
217 bool force_single_domain_; 216 bool force_single_domain_;
218 bool enable_ip_pooling_;
219 bool enable_compression_; 217 bool enable_compression_;
220 bool enable_ping_based_connection_checking_; 218 bool enable_ping_based_connection_checking_;
221 const NextProto default_protocol_; 219 const NextProto default_protocol_;
222 size_t stream_initial_recv_window_size_; 220 size_t stream_initial_recv_window_size_;
223 size_t initial_max_concurrent_streams_; 221 size_t initial_max_concurrent_streams_;
224 size_t max_concurrent_streams_limit_; 222 size_t max_concurrent_streams_limit_;
225 TimeFunc time_func_; 223 TimeFunc time_func_;
226 224
227 // This SPDY proxy is allowed to push resources from origins that are 225 // This SPDY proxy is allowed to push resources from origins that are
228 // different from those of their associated streams. 226 // different from those of their associated streams.
229 HostPortPair trusted_spdy_proxy_; 227 HostPortPair trusted_spdy_proxy_;
230 228
231 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); 229 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool);
232 }; 230 };
233 231
234 } // namespace net 232 } // namespace net
235 233
236 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ 234 #endif // NET_SPDY_SPDY_SESSION_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698