Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / net / quic / congestion_control / receive_algorithm_interface.cc
blob812aa461d5fb595f7aea24d83ea5e82b420e19f5
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/tcp_receiver.h"
9 namespace net {
11 // Factory for receive side congestion control algorithm.
12 ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create(
13 CongestionFeedbackType type) {
14 switch (type) {
15 case kTCP:
16 return new TcpReceiver();
18 return NULL;
21 } // namespace net