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

Unified Diff: webrtc/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: Rebase 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: webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h b/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
index 04aa6bf7f9a856eae990e81034674a80e15a4a06..e679951e2165aec31940341b62afc52884100ccb 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
@@ -13,6 +13,7 @@
#include "webrtc/call/call.h"
#include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h"
+#include "webrtc/modules/rtp_rtcp/source/rtp_packet.h"
namespace webrtc {
@@ -38,6 +39,10 @@ class RtcEventLogTestHelper {
const uint8_t* header,
size_t header_size,
size_t total_size);
+ static void VerifyRtpEvent(const ParsedRtcEventLog& parsed_log,
+ size_t index,
+ PacketDirection direction,
+ const rtp::Packet& expected_packet);
static void VerifyRtcpEvent(const ParsedRtcEventLog& parsed_log,
size_t index,
PacketDirection direction,

Powered by Google App Engine
This is Rietveld 408576698