Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: webrtc/rtc_tools/network_tester/test_controller.h

Issue 2965593002: Move webrtc/{tools => rtc_tools} (Closed)
Patch Set: Adding back root changes Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef WEBRTC_TOOLS_NETWORK_TESTER_TEST_CONTROLLER_H_ 11 #ifndef WEBRTC_TOOLS_NETWORK_TESTER_TEST_CONTROLLER_H_
12 #define WEBRTC_TOOLS_NETWORK_TESTER_TEST_CONTROLLER_H_ 12 #define WEBRTC_TOOLS_NETWORK_TESTER_TEST_CONTROLLER_H_
13 13
14 #include <array> 14 #include <array>
15 #include <limits> 15 #include <limits>
16 #include <memory> 16 #include <memory>
17 #include <string> 17 #include <string>
18 #include <utility> 18 #include <utility>
19 19
20 #include "webrtc/base/constructormagic.h" 20 #include "webrtc/base/constructormagic.h"
21 #include "webrtc/base/ignore_wundef.h" 21 #include "webrtc/base/ignore_wundef.h"
22 #include "webrtc/p2p/base/basicpacketsocketfactory.h" 22 #include "webrtc/p2p/base/basicpacketsocketfactory.h"
23 #include "webrtc/p2p/base/udptransport.h" 23 #include "webrtc/p2p/base/udptransport.h"
24 #include "webrtc/tools/network_tester/packet_logger.h" 24 #include "webrtc/rtc_tools/network_tester/packet_logger.h"
25 #include "webrtc/tools/network_tester/packet_sender.h" 25 #include "webrtc/rtc_tools/network_tester/packet_sender.h"
26 26
27 #ifdef WEBRTC_NETWORK_TESTER_PROTO 27 #ifdef WEBRTC_NETWORK_TESTER_PROTO
28 RTC_PUSH_IGNORING_WUNDEF() 28 RTC_PUSH_IGNORING_WUNDEF()
29 #include "webrtc/tools/network_tester/network_tester_packet.pb.h" 29 #include "webrtc/rtc_tools/network_tester/network_tester_packet.pb.h"
30 RTC_POP_IGNORING_WUNDEF() 30 RTC_POP_IGNORING_WUNDEF()
31 using webrtc::network_tester::packet::NetworkTesterPacket; 31 using webrtc::network_tester::packet::NetworkTesterPacket;
32 #else 32 #else
33 class NetworkTesterPacket; 33 class NetworkTesterPacket;
34 #endif // WEBRTC_NETWORK_TESTER_PROTO 34 #endif // WEBRTC_NETWORK_TESTER_PROTO
35 35
36 namespace webrtc { 36 namespace webrtc {
37 37
38 constexpr size_t kEthernetMtu = 1500; 38 constexpr size_t kEthernetMtu = 1500;
39 39
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 std::array<char, kEthernetMtu> send_data_; 72 std::array<char, kEthernetMtu> send_data_;
73 std::unique_ptr<cricket::UdpTransport> udp_transport_; 73 std::unique_ptr<cricket::UdpTransport> udp_transport_;
74 std::unique_ptr<PacketSender> packet_sender_; 74 std::unique_ptr<PacketSender> packet_sender_;
75 75
76 RTC_DISALLOW_COPY_AND_ASSIGN(TestController); 76 RTC_DISALLOW_COPY_AND_ASSIGN(TestController);
77 }; 77 };
78 78
79 } // namespace webrtc 79 } // namespace webrtc
80 80
81 #endif // WEBRTC_TOOLS_NETWORK_TESTER_TEST_CONTROLLER_H_ 81 #endif // WEBRTC_TOOLS_NETWORK_TESTER_TEST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_tools/network_tester/server.cc ('k') | webrtc/rtc_tools/network_tester/test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698