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

Unified Diff: net/spdy/spdy_session_unittest.cc

Issue 2567493002: Remove two SpdySessionPoolPeer methods. (Closed)
Patch Set: Created 4 years 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_network_transaction_unittest.cc ('k') | net/spdy/spdy_test_util_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_unittest.cc
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
index ba88cf95304ebd8c6bea4a4ec4a404f254b927f8..e901e19d97ae953c7b46cfaa44f7b09363d8efa7 100644
--- a/net/spdy/spdy_session_unittest.cc
+++ b/net/spdy/spdy_session_unittest.cc
@@ -3892,10 +3892,9 @@ TEST_F(SpdySessionTest, StreamFlowControlTooMuchData) {
AddSSLSocketData();
+ session_deps_.stream_max_recv_window_size = stream_max_recv_window_size;
CreateNetworkSession();
- SpdySessionPoolPeer pool_peer(spdy_session_pool_);
- pool_peer.SetStreamInitialRecvWindowSize(stream_max_recv_window_size);
CreateSecureSpdySession();
base::WeakPtr<SpdyStream> spdy_stream =
@@ -4030,9 +4029,8 @@ TEST_F(SpdySessionTest, StreamFlowControlTooMuchDataTwoDataFrames) {
AddSSLSocketData();
+ session_deps_.stream_max_recv_window_size = stream_max_recv_window_size;
CreateNetworkSession();
- SpdySessionPoolPeer pool_peer(spdy_session_pool_);
- pool_peer.SetStreamInitialRecvWindowSize(stream_max_recv_window_size);
CreateSecureSpdySession();
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_test_util_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698