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

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

Issue 3012923002: Add the internals of RtcEvent's subclasses (Closed)
Patch Set: 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_rtp_header_outgoing.cc
diff --git a/webrtc/logging/rtc_event_log/events/rtc_event_rtp_header_outgoing.cc b/webrtc/logging/rtc_event_log/events/rtc_event_rtp_header_outgoing.cc
index ddb226e18945db680f4e9cc7fc07f277effad353..60646b636a389ed569682239808215f7315931f4 100644
--- a/webrtc/logging/rtc_event_log/events/rtc_event_rtp_header_outgoing.cc
+++ b/webrtc/logging/rtc_event_log/events/rtc_event_rtp_header_outgoing.cc
@@ -10,8 +10,18 @@
#include "webrtc/logging/rtc_event_log/events/rtc_event_rtp_header_outgoing.h"
+#include <utility>
+
+#include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h"
+
namespace webrtc {
+RtcEventRtpHeaderOutgoing::RtcEventRtpHeaderOutgoing(
+ std::unique_ptr<RtpPacketToSend> packet)
+ : packet_(std::move(packet)) {}
+
+RtcEventRtpHeaderOutgoing::~RtcEventRtpHeaderOutgoing() = default;
+
RtcEvent::Type RtcEventRtpHeaderOutgoing::GetType() const {
return RtcEvent::Type::RtpHeaderOutgoing;
}

Powered by Google App Engine
This is Rietveld 408576698