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

Unified Diff: net/quic/quic_connection.h

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/quic_client_session_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 3e43e9d55b6e1576d12ff674d9ce9b4391e45d3e..50c75ea35b752591b2068a3c5622ee1bef1ba305 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -49,7 +49,6 @@ class QuicConnection;
class QuicDecrypter;
class QuicEncrypter;
class QuicFecGroup;
-class QuicFlowController;
class QuicRandom;
namespace test {
@@ -217,8 +216,7 @@ class NET_EXPORT_PRIVATE QuicConnection
QuicConnectionHelperInterface* helper,
QuicPacketWriter* writer,
bool is_server,
- const QuicVersionVector& supported_versions,
- uint32 max_flow_control_receive_window_bytes);
+ const QuicVersionVector& supported_versions);
virtual ~QuicConnection();
// Sets connection parameters from the supplied |config|.
@@ -267,8 +265,6 @@ class NET_EXPORT_PRIVATE QuicConnection
QuicStreamId last_good_stream_id,
const std::string& reason);
- QuicFlowController* flow_controller() { return flow_controller_.get(); }
-
// Returns statistics tracked for this connection.
const QuicConnectionStats& GetStats();
@@ -460,10 +456,6 @@ class NET_EXPORT_PRIVATE QuicConnection
bool CanWrite(TransmissionType transmission_type,
HasRetransmittableData retransmittable);
- uint32 max_flow_control_receive_window_bytes() const {
- return max_flow_control_receive_window_bytes_;
- }
-
// Stores current batch state for connection, puts the connection
// into batch mode, and destruction restores the stored batch state.
// While the bundler is in scope, any generated frames are bundled
@@ -760,12 +752,6 @@ class NET_EXPORT_PRIVATE QuicConnection
// version negotiation packet.
QuicVersionVector server_supported_versions_;
- // Initial flow control receive window size for new streams.
- uint32 max_flow_control_receive_window_bytes_;
-
- // Used for connection level flow control.
- scoped_ptr<QuicFlowController> flow_controller_;
-
DISALLOW_COPY_AND_ASSIGN(QuicConnection);
};
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698