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

Side by Side Diff: net/http/http_network_session.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 | « no previous file | net/http/http_network_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_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool force_spdy_single_domain; 87 bool force_spdy_single_domain;
88 bool enable_spdy_compression; 88 bool enable_spdy_compression;
89 bool enable_spdy_ping_based_connection_checking; 89 bool enable_spdy_ping_based_connection_checking;
90 NextProto spdy_default_protocol; 90 NextProto spdy_default_protocol;
91 // The protocols supported by NPN (next protocol negotiation) during the 91 // The protocols supported by NPN (next protocol negotiation) during the
92 // SSL handshake as well as by HTTP Alternate-Protocol. 92 // SSL handshake as well as by HTTP Alternate-Protocol.
93 // TODO(mmenke): This is currently empty by default, and alternate 93 // TODO(mmenke): This is currently empty by default, and alternate
94 // protocols are disabled. We should use some reasonable 94 // protocols are disabled. We should use some reasonable
95 // defaults. 95 // defaults.
96 NextProtoVector next_protos; 96 NextProtoVector next_protos;
97 size_t spdy_stream_initial_recv_window_size; 97 size_t spdy_session_max_recv_window_size;
98 size_t spdy_stream_max_recv_window_size;
98 size_t spdy_initial_max_concurrent_streams; 99 size_t spdy_initial_max_concurrent_streams;
99 size_t spdy_max_concurrent_streams_limit; 100 size_t spdy_max_concurrent_streams_limit;
100 SpdySessionPool::TimeFunc time_func; 101 SpdySessionPool::TimeFunc time_func;
101 std::string trusted_spdy_proxy; 102 std::string trusted_spdy_proxy;
102 // Controls whether or not ssl is used when in SPDY mode. 103 // Controls whether or not ssl is used when in SPDY mode.
103 bool force_spdy_over_ssl; 104 bool force_spdy_over_ssl;
104 // Controls whether or not SPDY is used without NPN. 105 // Controls whether or not SPDY is used without NPN.
105 bool force_spdy_always; 106 bool force_spdy_always;
106 // URLs to exclude from forced SPDY. 107 // URLs to exclude from forced SPDY.
107 std::set<HostPortPair> forced_spdy_exclusions; 108 std::set<HostPortPair> forced_spdy_exclusions;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 245
245 NextProtoVector next_protos_; 246 NextProtoVector next_protos_;
246 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 247 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
247 248
248 Params params_; 249 Params params_;
249 }; 250 };
250 251
251 } // namespace net 252 } // namespace net
252 253
253 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 254 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698