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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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_sent_entropy_manager_test.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.h
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h
index 837bfb5bcf5a874ede797712e7ca832752c9f198..cccacabade6fe9f7dd363b2d4df80e7d9c19dde0 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -67,7 +67,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
virtual ~NetworkChangeVisitor() {}
// Called when congestion window may have changed.
- virtual void OnCongestionWindowChange(QuicByteCount congestion_window) = 0;
+ virtual void OnCongestionWindowChange() = 0;
// TODO(jri): Add OnRttStatsChange() to this class as well.
};
@@ -98,6 +98,8 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
virtual void SetFromConfig(const QuicConfig& config);
+ void SetNumOpenStreams(size_t num_streams);
+
void SetHandshakeConfirmed() { handshake_confirmed_ = true; }
// Processes the incoming ack.
@@ -345,6 +347,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
RttStats rtt_stats_;
scoped_ptr<SendAlgorithmInterface> send_algorithm_;
scoped_ptr<LossDetectionInterface> loss_algorithm_;
+ bool n_connection_simulation_;
// Receiver side buffer in bytes.
QuicByteCount receive_buffer_bytes_;
« no previous file with comments | « net/quic/quic_sent_entropy_manager_test.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698