blob: 089a2f8a860a82cd1c302d8b9d5192a37030e2cd [file] [log] [blame]
Artem Titov7bf8c7f2019-03-15 15:00:37 +01001
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
Mirko Bonadei317a1f02019-09-17 17:06:18 +020014#include <memory>
15
Artem Titov386802e2019-07-05 10:48:17 +020016#include "test/network/network_emulation_manager.h"
Artem Titov7bf8c7f2019-03-15 15:00:37 +010017
18namespace webrtc {
19
Sebastian Jansson6ce033a2020-01-22 10:12:56 +010020std::unique_ptr<NetworkEmulationManager> CreateNetworkEmulationManager(
21 TimeMode mode) {
22 return std::make_unique<test::NetworkEmulationManagerImpl>(mode);
Artem Titov7bf8c7f2019-03-15 15:00:37 +010023}
24
25} // namespace webrtc