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

Unified Diff: net/quic/reliable_quic_stream_test.cc

Issue 286213002: Refactor: move flow controller from QuicConnection to QuicSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Created 6 years, 7 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/quic/reliable_quic_stream.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream_test.cc
diff --git a/net/quic/reliable_quic_stream_test.cc b/net/quic/reliable_quic_stream_test.cc
index d1ad9094e9f4bf5cc9b56f321f6c485e6f3a4c7b..4a702c90abe03a1f62026de118b0e28d544d97c3 100644
--- a/net/quic/reliable_quic_stream_test.cc
+++ b/net/quic/reliable_quic_stream_test.cc
@@ -395,7 +395,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataWithQuicAckNotifier) {
// Set a large flow control send window so this doesn't interfere with test.
stream_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1);
if (FLAGS_enable_quic_connection_flow_control) {
- connection_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1);
+ session_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1);
}
scoped_refptr<QuicAckNotifier::DelegateInterface> proxy_delegate;
@@ -450,7 +450,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataAckNotificationBeforeFlush) {
// Set a large flow control send window so this doesn't interfere with test.
stream_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1);
if (FLAGS_enable_quic_connection_flow_control) {
- connection_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1);
+ session_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1);
}
scoped_refptr<QuicAckNotifier::DelegateInterface> proxy_delegate;
« no previous file with comments | « net/quic/reliable_quic_stream.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698