| Index: net/quic/congestion_control/loss_detection_interface.cc
|
| diff --git a/net/quic/congestion_control/loss_detection_interface.cc b/net/quic/congestion_control/loss_detection_interface.cc
|
| index 3e8b0101e0c920c01b6a0f790ff484446d3ea183..bf894286d3388c08ee0aef48c399b4771ce05a37 100644
|
| --- a/net/quic/congestion_control/loss_detection_interface.cc
|
| +++ b/net/quic/congestion_control/loss_detection_interface.cc
|
| @@ -5,8 +5,6 @@
|
| #include "net/quic/congestion_control/loss_detection_interface.h"
|
|
|
| #include "net/quic/congestion_control/general_loss_algorithm.h"
|
| -#include "net/quic/congestion_control/tcp_loss_algorithm.h"
|
| -#include "net/quic/congestion_control/time_loss_algorithm.h"
|
| #include "net/quic/quic_bug_tracker.h"
|
| #include "net/quic/quic_flags.h"
|
|
|
| @@ -15,17 +13,7 @@ namespace net {
|
| // Factory for loss detection algorithm.
|
| LossDetectionInterface* LossDetectionInterface::Create(
|
| LossDetectionType loss_type) {
|
| - if (FLAGS_quic_general_loss_algorithm) {
|
| - return new GeneralLossAlgorithm(loss_type);
|
| - }
|
| - switch (loss_type) {
|
| - case kNack:
|
| - return new TCPLossAlgorithm();
|
| - case kTime:
|
| - return new TimeLossAlgorithm();
|
| - }
|
| - QUIC_BUG << "Unknown loss detection algorithm:" << loss_type;
|
| - return nullptr;
|
| + return new GeneralLossAlgorithm(loss_type);
|
| }
|
|
|
| } // namespace net
|
|
|