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

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

Issue 1061853002: Emit session-level WINDOW_UPDATEs less frequently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/spdy/spdy_session.cc » ('j') | net/spdy/spdy_session.cc » ('J')
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 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 // plans to add a command line switch that would cause a SETTINGS 1121 // plans to add a command line switch that would cause a SETTINGS
1122 // frame with window size announcement to be sent on startup. Newly 1122 // frame with window size announcement to be sent on startup. Newly
1123 // created streams will use this value for the initial receive 1123 // created streams will use this value for the initial receive
1124 // window size. 1124 // window size.
1125 int32 stream_initial_recv_window_size_; 1125 int32 stream_initial_recv_window_size_;
1126 1126
1127 // Session flow control variables. All zero unless session flow 1127 // Session flow control variables. All zero unless session flow
1128 // control is turned on. 1128 // control is turned on.
1129 int32 session_send_window_size_; 1129 int32 session_send_window_size_;
1130 int32 session_recv_window_size_; 1130 int32 session_recv_window_size_;
1131 int32 session_max_recv_window_size_;
Ryan Hamilton 2015/04/06 16:27:05 Can you add a comment to this variable?
Bence 2015/04/07 12:32:16 Done.
1131 int32 session_unacked_recv_window_bytes_; 1132 int32 session_unacked_recv_window_bytes_;
1132 1133
1133 // A queue of stream IDs that have been send-stalled at some point 1134 // A queue of stream IDs that have been send-stalled at some point
1134 // in the past. 1135 // in the past.
1135 std::deque<SpdyStreamId> stream_send_unstall_queue_[NUM_PRIORITIES]; 1136 std::deque<SpdyStreamId> stream_send_unstall_queue_[NUM_PRIORITIES];
1136 1137
1137 BoundNetLog net_log_; 1138 BoundNetLog net_log_;
1138 1139
1139 // Outside of tests, these should always be true. 1140 // Outside of tests, these should always be true.
1140 bool verify_domain_authentication_; 1141 bool verify_domain_authentication_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 // Used for posting asynchronous IO tasks. We use this even though 1178 // Used for posting asynchronous IO tasks. We use this even though
1178 // SpdySession is refcounted because we don't need to keep the SpdySession 1179 // SpdySession is refcounted because we don't need to keep the SpdySession
1179 // alive if the last reference is within a RunnableMethod. Just revoke the 1180 // alive if the last reference is within a RunnableMethod. Just revoke the
1180 // method. 1181 // method.
1181 base::WeakPtrFactory<SpdySession> weak_factory_; 1182 base::WeakPtrFactory<SpdySession> weak_factory_;
1182 }; 1183 };
1183 1184
1184 } // namespace net 1185 } // namespace net
1185 1186
1186 #endif // NET_SPDY_SPDY_SESSION_H_ 1187 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | net/spdy/spdy_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698