• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 mode)20 std::unique_ptr<NetworkEmulationManager> CreateNetworkEmulationManager(
21     TimeMode mode) {
22   return std::make_unique<test::NetworkEmulationManagerImpl>(mode);
23 }
24 
25 }  // namespace webrtc
26