1 /* 2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #ifndef MODULES_CONGESTION_CONTROLLER_PCC_PCC_FACTORY_H_ 12 #define MODULES_CONGESTION_CONTROLLER_PCC_PCC_FACTORY_H_ 13 14 #include <memory> 15 16 #include "api/transport/network_control.h" 17 #include "api/units/time_delta.h" 18 19 namespace webrtc { 20 21 class PccNetworkControllerFactory : public NetworkControllerFactoryInterface { 22 public: 23 PccNetworkControllerFactory(); 24 std::unique_ptr<NetworkControllerInterface> Create( 25 NetworkControllerConfig config) override; 26 TimeDelta GetProcessInterval() const override; 27 }; 28 } // namespace webrtc 29 30 #endif // MODULES_CONGESTION_CONTROLLER_PCC_PCC_FACTORY_H_ 31