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

Side by Side Diff: webrtc/tools/network_tester/packet_sender.h

Issue 2790513002: Add packet logger and server (Closed)
Patch Set: Set output path Created 3 years, 8 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
« no previous file with comments | « webrtc/tools/network_tester/packet_logger.cc ('k') | webrtc/tools/network_tester/server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PACKET_SENDER_H_ 11 #ifndef WEBRTC_TOOLS_NETWORK_TESTER_PACKET_SENDER_H_
12 #define WEBRTC_TOOLS_NETWORK_TESTER_PACKET_SENDER_H_ 12 #define WEBRTC_TOOLS_NETWORK_TESTER_PACKET_SENDER_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/base/ignore_wundef.h" 18 #include "webrtc/base/ignore_wundef.h"
18 #include "webrtc/base/sequenced_task_checker.h" 19 #include "webrtc/base/sequenced_task_checker.h"
19 #include "webrtc/base/task_queue.h" 20 #include "webrtc/base/task_queue.h"
20 21
21 #ifdef WEBRTC_NETWORK_TESTER_PROTO 22 #ifdef WEBRTC_NETWORK_TESTER_PROTO
22 RTC_PUSH_IGNORING_WUNDEF() 23 RTC_PUSH_IGNORING_WUNDEF()
23 #include "webrtc/tools/network_tester/network_tester_packet.pb.h" 24 #include "webrtc/tools/network_tester/network_tester_packet.pb.h"
24 RTC_POP_IGNORING_WUNDEF() 25 RTC_POP_IGNORING_WUNDEF()
25 using webrtc::network_tester::packet::NetworkTesterPacket; 26 using webrtc::network_tester::packet::NetworkTesterPacket;
26 #else 27 #else
(...skipping 28 matching lines...) Expand all
55 const std::string config_file_path_; 56 const std::string config_file_path_;
56 TestController* const test_controller_; 57 TestController* const test_controller_;
57 rtc::TaskQueue worker_queue_; 58 rtc::TaskQueue worker_queue_;
58 59
59 RTC_DISALLOW_COPY_AND_ASSIGN(PacketSender); 60 RTC_DISALLOW_COPY_AND_ASSIGN(PacketSender);
60 }; 61 };
61 62
62 } // namespace webrtc 63 } // namespace webrtc
63 64
64 #endif // WEBRTC_TOOLS_NETWORK_TESTER_PACKET_SENDER_H_ 65 #endif // WEBRTC_TOOLS_NETWORK_TESTER_PACKET_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/tools/network_tester/packet_logger.cc ('k') | webrtc/tools/network_tester/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698