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

Unified Diff: net/spdy/spdy_test_util_common.h

Issue 1061853002: Emit session-level WINDOW_UPDATEs less frequently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test and loads of plumbing. 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 side-by-side diff with in-line comments
Download patch
Index: net/spdy/spdy_test_util_common.h
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h
index c244074c3ab41694c4435dcc21820c2ab22fa47b..953369989e27e2b667c1d046818f7bfadf143e01 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -215,6 +215,7 @@ struct SpdySessionDependencies {
bool enable_ping;
bool enable_user_alternate_protocol_ports;
NextProto protocol;
+ size_t session_max_recv_window_size;
size_t stream_initial_recv_window_size;
SpdySession::TimeFunc time_func;
NextProtoVector next_protos;
@@ -289,6 +290,8 @@ class SpdySessionPoolPeer {
void RemoveAliases(const SpdySessionKey& key);
void DisableDomainAuthenticationVerification();
void SetEnableSendingInitialData(bool enabled);
+ void SetSessionMaxRecvWindowSize(size_t window);
+ void SetStreamInitialRecvWindowSize(size_t window);
private:
SpdySessionPool* const pool_;

Powered by Google App Engine
This is Rietveld 408576698