1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "net/quic/congestion_control/receive_algorithm_interface.h"
7 #include "net/quic/congestion_control/fix_rate_receiver.h"
8 #include "net/quic/congestion_control/tcp_receiver.h"
12 // Factory for receive side congestion control algorithm.
13 ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create(
14 CongestionFeedbackType type) {
17 return new TcpReceiver();
19 LOG(DFATAL) << "InterArrivalSendAlgorithm no longer supported.";
22 return new FixRateReceiver();