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

Unified Diff: webrtc/tools/network_tester/test_controller.h

Issue 2790513002: Add packet logger and server (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/tools/network_tester/server.cc ('k') | webrtc/tools/network_tester/test_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/network_tester/test_controller.h
diff --git a/webrtc/tools/network_tester/test_controller.h b/webrtc/tools/network_tester/test_controller.h
index da5cde608f1eaf0878b76948e755daa7a30d6d04..0427fae10f826a27421c0a9c42ef3f2a45d1c852 100644
--- a/webrtc/tools/network_tester/test_controller.h
+++ b/webrtc/tools/network_tester/test_controller.h
@@ -17,9 +17,11 @@
#include <string>
#include <utility>
+#include "webrtc/base/constructormagic.h"
#include "webrtc/base/ignore_wundef.h"
#include "webrtc/p2p/base/basicpacketsocketfactory.h"
#include "webrtc/p2p/base/udptransport.h"
+#include "webrtc/tools/network_tester/packet_logger.h"
#include "webrtc/tools/network_tester/packet_sender.h"
#ifdef WEBRTC_NETWORK_TESTER_PROTO
@@ -37,7 +39,8 @@ class TestController : public sigslot::has_slots<> {
public:
TestController(int min_port,
int max_port,
- const std::string& config_file_path);
+ const std::string& config_file_path,
+ const std::string& log_file_path);
void Run();
@@ -61,9 +64,11 @@ class TestController : public sigslot::has_slots<> {
std::unique_ptr<cricket::UdpTransport> udp_transport_;
std::unique_ptr<PacketSender> packet_sender_;
const std::string config_file_path_;
+ PacketLogger packet_logger_;
bool local_test_done_;
bool remote_test_done_;
std::array<char, 15000> send_data_;
+ RTC_DISALLOW_COPY_AND_ASSIGN(TestController);
stefan-webrtc 2017/03/30 09:22:25 New line above
michaelt 2017/04/06 07:35:07 Done.
};
} // namespace webrtc
« no previous file with comments | « webrtc/tools/network_tester/server.cc ('k') | webrtc/tools/network_tester/test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698