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

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

Issue 2165023002: Remove enable_priority_dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // |spdy_session_key| is the host/port that this session connects to, privacy 287 // |spdy_session_key| is the host/port that this session connects to, privacy
288 // and proxy configuration settings that it's using. 288 // and proxy configuration settings that it's using.
289 // |session| is the HttpNetworkSession. |net_log| is the NetLog that we log 289 // |session| is the HttpNetworkSession. |net_log| is the NetLog that we log
290 // network events to. 290 // network events to.
291 SpdySession(const SpdySessionKey& spdy_session_key, 291 SpdySession(const SpdySessionKey& spdy_session_key,
292 HttpServerProperties* http_server_properties, 292 HttpServerProperties* http_server_properties,
293 TransportSecurityState* transport_security_state, 293 TransportSecurityState* transport_security_state,
294 bool verify_domain_authentication, 294 bool verify_domain_authentication,
295 bool enable_sending_initial_data, 295 bool enable_sending_initial_data,
296 bool enable_ping_based_connection_checking, 296 bool enable_ping_based_connection_checking,
297 bool enable_priority_dependencies,
298 size_t session_max_recv_window_size, 297 size_t session_max_recv_window_size,
299 size_t stream_max_recv_window_size, 298 size_t stream_max_recv_window_size,
300 TimeFunc time_func, 299 TimeFunc time_func,
301 ProxyDelegate* proxy_delegate, 300 ProxyDelegate* proxy_delegate,
302 NetLog* net_log); 301 NetLog* net_log);
303 302
304 ~SpdySession() override; 303 ~SpdySession() override;
305 304
306 const HostPortPair& host_port_pair() const { 305 const HostPortPair& host_port_pair() const {
307 return spdy_session_key_.host_port_proxy_pair().first; 306 return spdy_session_key_.host_port_proxy_pair().first;
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 // get a PING response (http://crbug.com/127812). 1189 // get a PING response (http://crbug.com/127812).
1191 base::TimeDelta hung_interval_; 1190 base::TimeDelta hung_interval_;
1192 1191
1193 // The |proxy_delegate_| verifies that a given proxy is a trusted SPDY proxy, 1192 // The |proxy_delegate_| verifies that a given proxy is a trusted SPDY proxy,
1194 // which is allowed to push resources from origins that are different from 1193 // which is allowed to push resources from origins that are different from
1195 // those of their associated streams. May be nullptr. 1194 // those of their associated streams. May be nullptr.
1196 ProxyDelegate* proxy_delegate_; 1195 ProxyDelegate* proxy_delegate_;
1197 1196
1198 TimeFunc time_func_; 1197 TimeFunc time_func_;
1199 1198
1200 const bool priority_dependencies_enabled_;
1201 Http2PriorityDependencies priority_dependency_state_; 1199 Http2PriorityDependencies priority_dependency_state_;
1202 1200
1203 // Used for posting asynchronous IO tasks. We use this even though 1201 // Used for posting asynchronous IO tasks. We use this even though
1204 // SpdySession is refcounted because we don't need to keep the SpdySession 1202 // SpdySession is refcounted because we don't need to keep the SpdySession
1205 // alive if the last reference is within a RunnableMethod. Just revoke the 1203 // alive if the last reference is within a RunnableMethod. Just revoke the
1206 // method. 1204 // method.
1207 base::WeakPtrFactory<SpdySession> weak_factory_; 1205 base::WeakPtrFactory<SpdySession> weak_factory_;
1208 }; 1206 };
1209 1207
1210 } // namespace net 1208 } // namespace net
1211 1209
1212 #endif // NET_SPDY_SPDY_SESSION_H_ 1210 #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