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

Unified Diff: logging/rtc_event_log/rtc_event_log_unittest_helper.h

Issue 2997973002: Split LogRtpHeader and LogRtcpPacket into separate versions for incoming and outgoing packets.
Patch Set: Split VerifyRtpEvent into one incoming and one outgoing version. Created 3 years, 3 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
Index: logging/rtc_event_log/rtc_event_log_unittest_helper.h
diff --git a/logging/rtc_event_log/rtc_event_log_unittest_helper.h b/logging/rtc_event_log/rtc_event_log_unittest_helper.h
index 29031ed5f9c46bf0fdf7bef7cc8fa73647c77287..630f160a1852d49afeff8fcf3fe0e74c73d2e1da 100644
--- a/logging/rtc_event_log/rtc_event_log_unittest_helper.h
+++ b/logging/rtc_event_log/rtc_event_log_unittest_helper.h
@@ -13,6 +13,8 @@
#include "call/call.h"
#include "logging/rtc_event_log/rtc_event_log_parser.h"
+#include "modules/rtp_rtcp/source/rtp_packet_received.h"
+#include "modules/rtp_rtcp/source/rtp_packet_to_send.h"
namespace webrtc {
@@ -32,12 +34,12 @@ class RtcEventLogTestHelper {
static void VerifyAudioSendStreamConfig(const ParsedRtcEventLog& parsed_log,
size_t index,
const rtclog::StreamConfig& config);
- static void VerifyRtpEvent(const ParsedRtcEventLog& parsed_log,
- size_t index,
- PacketDirection direction,
- const uint8_t* header,
- size_t header_size,
- size_t total_size);
+ static void VerifyIncomingRtpEvent(const ParsedRtcEventLog& parsed_log,
+ size_t index,
+ const RtpPacketReceived& expected_packet);
+ static void VerifyOutgoingRtpEvent(const ParsedRtcEventLog& parsed_log,
+ size_t index,
+ const RtpPacketToSend& expected_packet);
static void VerifyRtcpEvent(const ParsedRtcEventLog& parsed_log,
size_t index,
PacketDirection direction,
« no previous file with comments | « logging/rtc_event_log/rtc_event_log_unittest.cc ('k') | logging/rtc_event_log/rtc_event_log_unittest_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698