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

Unified Diff: net/spdy/spdy_session.h

Issue 10479014: Increase Chrome SPDY/3 stream receive window to 10MB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix raman's comments Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index 2b55528d6fd3cd37850b8197fea9a9330c3c50ab..cbafaf3578ce08888e31e317c9091b25c3a7d8c4 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 receive window size for newly created sessions.
+ 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.
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698