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

Unified Diff: webrtc/logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc

Issue 3012923002: Add the internals of RtcEvent's subclasses (Closed)
Patch Set: Rebased 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/events/rtc_event_rtcp_packet_incoming.cc
diff --git a/webrtc/logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc b/webrtc/logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc
index 769834c3d30912ff7221470b949ee6857f35661a..9873a4681a9a587c8295b3d763d097874e078f10 100644
--- a/webrtc/logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc
+++ b/webrtc/logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc
@@ -12,6 +12,12 @@
namespace webrtc {
+RtcEventRtcpPacketIncoming::RtcEventRtcpPacketIncoming(
+ rtc::ArrayView<const uint8_t> packet)
+ : packet_(packet.data(), packet.size()) {}
+
+RtcEventRtcpPacketIncoming::~RtcEventRtcpPacketIncoming() = default;
+
RtcEvent::Type RtcEventRtcpPacketIncoming::GetType() const {
return RtcEvent::Type::RtcpPacketIncoming;
}

Powered by Google App Engine
This is Rietveld 408576698