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

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

Issue 1061853002: Emit session-level WINDOW_UPDATEs less frequently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: comments in #5. Created 5 years, 8 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/spdy/spdy_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // it must be a SPDY protocol. 49 // it must be a SPDY protocol.
50 SpdySessionPool( 50 SpdySessionPool(
51 HostResolver* host_resolver, 51 HostResolver* host_resolver,
52 SSLConfigService* ssl_config_service, 52 SSLConfigService* ssl_config_service,
53 const base::WeakPtr<HttpServerProperties>& http_server_properties, 53 const base::WeakPtr<HttpServerProperties>& http_server_properties,
54 TransportSecurityState* transport_security_state, 54 TransportSecurityState* transport_security_state,
55 bool force_single_domain, 55 bool force_single_domain,
56 bool enable_compression, 56 bool enable_compression,
57 bool enable_ping_based_connection_checking, 57 bool enable_ping_based_connection_checking,
58 NextProto default_protocol, 58 NextProto default_protocol,
59 size_t stream_initial_recv_window_size, 59 size_t session_max_recv_window_size,
60 size_t stream_max_recv_window_size,
60 size_t initial_max_concurrent_streams, 61 size_t initial_max_concurrent_streams,
61 size_t max_concurrent_streams_limit, 62 size_t max_concurrent_streams_limit,
62 SpdySessionPool::TimeFunc time_func, 63 SpdySessionPool::TimeFunc time_func,
63 const std::string& trusted_spdy_proxy); 64 const std::string& trusted_spdy_proxy);
64 ~SpdySessionPool() override; 65 ~SpdySessionPool() override;
65 66
66 // In the functions below, a session is "available" if this pool has 67 // In the functions below, a session is "available" if this pool has
67 // a reference to it and there is some SpdySessionKey for which 68 // a reference to it and there is some SpdySessionKey for which
68 // FindAvailableSession() will return it. A session is "unavailable" 69 // FindAvailableSession() will return it. A session is "unavailable"
69 // if this pool has a reference to it but it won't be returned by 70 // if this pool has a reference to it but it won't be returned by
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 const scoped_refptr<SSLConfigService> ssl_config_service_; 214 const scoped_refptr<SSLConfigService> ssl_config_service_;
214 HostResolver* const resolver_; 215 HostResolver* const resolver_;
215 216
216 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. 217 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests.
217 bool verify_domain_authentication_; 218 bool verify_domain_authentication_;
218 bool enable_sending_initial_data_; 219 bool enable_sending_initial_data_;
219 bool force_single_domain_; 220 bool force_single_domain_;
220 bool enable_compression_; 221 bool enable_compression_;
221 bool enable_ping_based_connection_checking_; 222 bool enable_ping_based_connection_checking_;
222 const NextProto default_protocol_; 223 const NextProto default_protocol_;
223 size_t stream_initial_recv_window_size_; 224 size_t session_max_recv_window_size_;
225 size_t stream_max_recv_window_size_;
224 size_t initial_max_concurrent_streams_; 226 size_t initial_max_concurrent_streams_;
225 size_t max_concurrent_streams_limit_; 227 size_t max_concurrent_streams_limit_;
226 TimeFunc time_func_; 228 TimeFunc time_func_;
227 229
228 // This SPDY proxy is allowed to push resources from origins that are 230 // This SPDY proxy is allowed to push resources from origins that are
229 // different from those of their associated streams. 231 // different from those of their associated streams.
230 HostPortPair trusted_spdy_proxy_; 232 HostPortPair trusted_spdy_proxy_;
231 233
232 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); 234 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool);
233 }; 235 };
234 236
235 } // namespace net 237 } // namespace net
236 238
237 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ 239 #endif // NET_SPDY_SPDY_SESSION_POOL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698