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

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

Issue 1112093002: Remove unused max_concurrent_streams_limit_ member. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/spdy/spdy_session.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_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_H_
6 #define NET_SPDY_SPDY_SESSION_H_ 6 #define NET_SPDY_SPDY_SESSION_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 const base::WeakPtr<HttpServerProperties>& http_server_properties, 238 const base::WeakPtr<HttpServerProperties>& http_server_properties,
239 TransportSecurityState* transport_security_state, 239 TransportSecurityState* transport_security_state,
240 bool verify_domain_authentication, 240 bool verify_domain_authentication,
241 bool enable_sending_initial_data, 241 bool enable_sending_initial_data,
242 bool enable_compression, 242 bool enable_compression,
243 bool enable_ping_based_connection_checking, 243 bool enable_ping_based_connection_checking,
244 NextProto default_protocol, 244 NextProto default_protocol,
245 size_t session_max_recv_window_size, 245 size_t session_max_recv_window_size,
246 size_t stream_max_recv_window_size, 246 size_t stream_max_recv_window_size,
247 size_t initial_max_concurrent_streams, 247 size_t initial_max_concurrent_streams,
248 size_t max_concurrent_streams_limit,
249 TimeFunc time_func, 248 TimeFunc time_func,
250 const HostPortPair& trusted_spdy_proxy, 249 const HostPortPair& trusted_spdy_proxy,
251 NetLog* net_log); 250 NetLog* net_log);
252 251
253 ~SpdySession() override; 252 ~SpdySession() override;
254 253
255 const HostPortPair& host_port_pair() const { 254 const HostPortPair& host_port_pair() const {
256 return spdy_session_key_.host_port_proxy_pair().first; 255 return spdy_session_key_.host_port_proxy_pair().first;
257 } 256 }
258 const HostPortProxyPair& host_port_proxy_pair() const { 257 const HostPortProxyPair& host_port_proxy_pair() const {
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 WriteState write_state_; 1056 WriteState write_state_;
1058 1057
1059 // If the session is closing (i.e., |availability_state_| is STATE_DRAINING), 1058 // If the session is closing (i.e., |availability_state_| is STATE_DRAINING),
1060 // then |error_on_close_| holds the error with which it was closed, which 1059 // then |error_on_close_| holds the error with which it was closed, which
1061 // may be OK (upon a polite GOAWAY) or an error < ERR_IO_PENDING otherwise. 1060 // may be OK (upon a polite GOAWAY) or an error < ERR_IO_PENDING otherwise.
1062 // Initialized to OK. 1061 // Initialized to OK.
1063 Error error_on_close_; 1062 Error error_on_close_;
1064 1063
1065 // Limits 1064 // Limits
1066 size_t max_concurrent_streams_; // 0 if no limit 1065 size_t max_concurrent_streams_; // 0 if no limit
1067 size_t max_concurrent_streams_limit_;
1068 size_t max_concurrent_pushed_streams_; 1066 size_t max_concurrent_pushed_streams_;
1069 1067
1070 // Some statistics counters for the session. 1068 // Some statistics counters for the session.
1071 int streams_initiated_count_; 1069 int streams_initiated_count_;
1072 int streams_pushed_count_; 1070 int streams_pushed_count_;
1073 int streams_pushed_and_claimed_count_; 1071 int streams_pushed_and_claimed_count_;
1074 int streams_abandoned_count_; 1072 int streams_abandoned_count_;
1075 1073
1076 // |total_bytes_received_| keeps track of all the bytes read by the 1074 // |total_bytes_received_| keeps track of all the bytes read by the
1077 // SpdySession. It is used by the |Net.SpdySettingsCwnd...| histograms. 1075 // SpdySession. It is used by the |Net.SpdySettingsCwnd...| histograms.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 // Used for posting asynchronous IO tasks. We use this even though 1187 // Used for posting asynchronous IO tasks. We use this even though
1190 // SpdySession is refcounted because we don't need to keep the SpdySession 1188 // SpdySession is refcounted because we don't need to keep the SpdySession
1191 // alive if the last reference is within a RunnableMethod. Just revoke the 1189 // alive if the last reference is within a RunnableMethod. Just revoke the
1192 // method. 1190 // method.
1193 base::WeakPtrFactory<SpdySession> weak_factory_; 1191 base::WeakPtrFactory<SpdySession> weak_factory_;
1194 }; 1192 };
1195 1193
1196 } // namespace net 1194 } // namespace net
1197 1195
1198 #endif // NET_SPDY_SPDY_SESSION_H_ 1196 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698