diff options
author | Bjorn Terelius <terelius@webrtc.org> | 2018-06-28 16:48:35 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-06-28 15:31:23 +0000 |
commit | 7750de906ad7f59524d3669846c64057e9c63050 (patch) | |
tree | cc7ab18e0c94e7227aab47353a382d1128e70a4c /logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h | |
parent | 0601d68ac85e201d7bf377373daf249c07a7ab74 (diff) | |
download | webrtc-7750de906ad7f59524d3669846c64057e9c63050.tar.gz |
Port RtcEventLog encoder unittests to the new parser API.
The Copy() function previously did not copy the logging timestamp.
To be able to use Copy() in this test, we add private copy
constructors for RtcEvents which the Copy() can use to copy
everything including the timestamp.
Also adds missing test for RtcEventAlrState,
RtcEventIceCandidatePairConfig and RtcEventIceCandidatePair.
Bug: webrtc:8111
Change-Id: I3901231735baa4e671173c921eada0a4be6de7c9
Reviewed-on: https://webrtc-review.googlesource.com/86042
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Elad Alon <eladalon@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23774}
Diffstat (limited to 'logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h')
-rw-r--r-- | logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h b/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h index ed6b9fb226..3aa9e7199a 100644 --- a/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h +++ b/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h @@ -31,6 +31,9 @@ class RtcEventRtcpPacketOutgoing final : public RtcEvent { std::unique_ptr<RtcEvent> Copy() const override; rtc::Buffer packet_; + + private: + RtcEventRtcpPacketOutgoing(const RtcEventRtcpPacketOutgoing& other); }; } // namespace webrtc |