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

Unified Diff: net/spdy/spdy_network_transaction_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 | « no previous file | net/spdy/spdy_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_network_transaction_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc
index 459d015cf1b69ded7b5e3c3c4d8581435bb6da8b..dcfae9691ddd605bbbfc4953aafea005c8dd162b 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -5374,16 +5374,19 @@ TEST_F(SpdyNetworkTransactionTest, WindowUpdateSent) {
SequencedSocketData data(reads.data(), reads.size(), writes.data(),
writes.size());
+ auto session_deps = base::MakeUnique<SpdySessionDependencies>();
+ session_deps->session_max_recv_window_size = session_max_recv_window_size;
+ session_deps->stream_max_recv_window_size = stream_max_recv_window_size;
+
NormalSpdyTransactionHelper helper(CreateGetRequest(), DEFAULT_PRIORITY,
- NetLogWithSource(), NULL);
+ NetLogWithSource(),
+ std::move(session_deps));
helper.AddData(&data);
helper.RunPreTestSetup();
SpdySessionPool* spdy_session_pool = helper.session()->spdy_session_pool();
SpdySessionPoolPeer pool_peer(spdy_session_pool);
pool_peer.SetEnableSendingInitialData(true);
- pool_peer.SetSessionMaxRecvWindowSize(session_max_recv_window_size);
- pool_peer.SetStreamInitialRecvWindowSize(stream_max_recv_window_size);
HttpNetworkTransaction* trans = helper.trans();
TestCompletionCallback callback;
« no previous file with comments | « no previous file | net/spdy/spdy_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698