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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a54a0bd0c75d8509a03588db599183c19fa64799 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -215,7 +215,8 @@ struct SpdySessionDependencies {
bool enable_ping;
bool enable_user_alternate_protocol_ports;
NextProto protocol;
- size_t stream_initial_recv_window_size;
+ size_t session_max_recv_window_size;
+ size_t stream_max_recv_window_size;
SpdySession::TimeFunc time_func;
NextProtoVector next_protos;
std::string trusted_spdy_proxy;
@@ -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_;
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698