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

Unified Diff: net/quic/congestion_control/receive_algorithm_interface.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/receive_algorithm_interface.cc
diff --git a/net/quic/congestion_control/receive_algorithm_interface.cc b/net/quic/congestion_control/receive_algorithm_interface.cc
index 72164ef1407bf3e91a6af9471e51e24c69f460b7..a619dd5c5a6e54213e8703ffa73c485372116e94 100644
--- a/net/quic/congestion_control/receive_algorithm_interface.cc
+++ b/net/quic/congestion_control/receive_algorithm_interface.cc
@@ -9,13 +9,8 @@
namespace net {
// Factory for receive side congestion control algorithm.
-ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create(
- CongestionFeedbackType type) {
- switch (type) {
- case kTCP:
- return new TcpReceiver();
- }
- return nullptr;
+ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create() {
+ return new TcpReceiver();
}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698