Chromium Code Reviews| Index: net/spdy/spdy_session.h |
| diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
| index 2b55528d6fd3cd37850b8197fea9a9330c3c50ab..05f5954c46311306da9cf30595010f34ccf83e59 100644 |
| --- a/net/spdy/spdy_session.h |
| +++ b/net/spdy/spdy_session.h |
| @@ -232,6 +232,9 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>, |
| // server via SETTINGS. |
| static void set_init_max_concurrent_streams(size_t value); |
| + // Sets the initial recieve window size for newly created sessions. |
|
ramant (doing other things)
2012/06/04 22:29:00
nit: recieve -> receive
Ryan Hamilton
2012/06/04 22:34:44
Done.
|
| + static void set_default_initial_recv_window_size(size_t value); |
| + |
| // Send WINDOW_UPDATE frame, called by a stream whenever receive window |
| // size is increased. |
| void SendWindowUpdate(SpdyStreamId stream_id, int32 delta_window_size); |
| @@ -389,7 +392,10 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>, |
| void OnWriteComplete(int result); |
| // Send relevant SETTINGS. This is generally called on connection setup. |
| - void SendSettings(); |
| + void SendInitialSettings(); |
| + |
| + // Helper method to send SETTINGS a frame. |
| + void SendSettings(const SettingsMap& settings); |
| // Handle SETTING. Either when we send settings, or when we receive a |
| // SETTINGS control frame, update our SpdySession accordingly. |