1 2 /* 3 * Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. 4 * 5 * Use of this source code is governed by a BSD-style license 6 * that can be found in the LICENSE file in the root of the source 7 * tree. An additional intellectual property rights grant can be found 8 * in the file PATENTS. All contributing project authors may 9 * be found in the AUTHORS file in the root of the source tree. 10 */ 11 12 #include "api/test/create_network_emulation_manager.h" 13 14 #include <memory> 15 16 #include "test/network/network_emulation_manager.h" 17 18 namespace webrtc { 19 CreateNetworkEmulationManager(TimeMode time_mode,EmulatedNetworkStatsGatheringMode stats_gathering_mode)20std::unique_ptr<NetworkEmulationManager> CreateNetworkEmulationManager( 21 TimeMode time_mode, 22 EmulatedNetworkStatsGatheringMode stats_gathering_mode) { 23 return std::make_unique<test::NetworkEmulationManagerImpl>( 24 time_mode, stats_gathering_mode); 25 } 26 27 } // namespace webrtc 28