OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/tools/network_tester/test_controller.h" | 11 #include "webrtc/rtc_tools/network_tester/test_controller.h" |
12 | 12 |
13 namespace webrtc { | 13 namespace webrtc { |
14 | 14 |
15 TestController::TestController(int min_port, | 15 TestController::TestController(int min_port, |
16 int max_port, | 16 int max_port, |
17 const std::string& config_file_path, | 17 const std::string& config_file_path, |
18 const std::string& log_file_path) | 18 const std::string& log_file_path) |
19 : socket_factory_(rtc::ThreadManager::Instance()->WrapCurrentThread()), | 19 : socket_factory_(rtc::ThreadManager::Instance()->WrapCurrentThread()), |
20 config_file_path_(config_file_path), | 20 config_file_path_(config_file_path), |
21 packet_logger_(log_file_path), | 21 packet_logger_(log_file_path), |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 } | 116 } |
117 case NetworkTesterPacket::TEST_DONE: { | 117 case NetworkTesterPacket::TEST_DONE: { |
118 remote_test_done_ = true; | 118 remote_test_done_ = true; |
119 break; | 119 break; |
120 } | 120 } |
121 default: { RTC_NOTREACHED(); } | 121 default: { RTC_NOTREACHED(); } |
122 } | 122 } |
123 } | 123 } |
124 | 124 |
125 } // namespace webrtc | 125 } // namespace webrtc |
OLD | NEW |