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

Unified Diff: net/quic/congestion_control/send_algorithm_interface.h

Issue 400813002: Cleanup and adding GetCongestionControlType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: net/quic/congestion_control/send_algorithm_interface.h
diff --git a/net/quic/congestion_control/send_algorithm_interface.h b/net/quic/congestion_control/send_algorithm_interface.h
index 9633ecd86cd6a5bafd2981a74e126e009008f8fc..9173afe4a73906aaac2f1d5790f07cced8775ef5 100644
--- a/net/quic/congestion_control/send_algorithm_interface.h
+++ b/net/quic/congestion_control/send_algorithm_interface.h
@@ -29,7 +29,7 @@ class NET_EXPORT_PRIVATE SendAlgorithmInterface {
static SendAlgorithmInterface* Create(const QuicClock* clock,
const RttStats* rtt_stats,
- CongestionFeedbackType type,
+ CongestionControlType type,
QuicConnectionStats* stats);
virtual ~SendAlgorithmInterface() {}
@@ -101,6 +101,8 @@ class NET_EXPORT_PRIVATE SendAlgorithmInterface {
// aka ssthresh. Some send algorithms do not define a slow start
// threshold and will return 0.
virtual QuicByteCount GetSlowStartThreshold() const = 0;
+
+ virtual CongestionControlType GetCongestionControlType() const = 0;
};
} // namespace net
« no previous file with comments | « net/quic/congestion_control/receive_algorithm_interface.cc ('k') | net/quic/congestion_control/send_algorithm_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698