| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_RTCP_PACKET_INCOMING_H_ | 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_RTCP_PACKET_INCOMING_H_ |
| 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_RTCP_PACKET_INCOMING_H_ | 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_RTCP_PACKET_INCOMING_H_ |
| 13 | 13 |
| 14 #include "webrtc/api/array_view.h" |
| 14 #include "webrtc/logging/rtc_event_log/events/rtc_event.h" | 15 #include "webrtc/logging/rtc_event_log/events/rtc_event.h" |
| 16 #include "webrtc/rtc_base/buffer.h" |
| 15 | 17 |
| 16 namespace webrtc { | 18 namespace webrtc { |
| 17 | 19 |
| 18 class RtcEventRtcpPacketIncoming final : public RtcEvent { | 20 class RtcEventRtcpPacketIncoming final : public RtcEvent { |
| 19 public: | 21 public: |
| 20 ~RtcEventRtcpPacketIncoming() override = default; | 22 explicit RtcEventRtcpPacketIncoming(rtc::ArrayView<const uint8_t> packet); |
| 23 ~RtcEventRtcpPacketIncoming() override; |
| 21 | 24 |
| 22 Type GetType() const override; | 25 Type GetType() const override; |
| 23 | 26 |
| 24 bool IsConfigEvent() const override; | 27 bool IsConfigEvent() const override; |
| 28 |
| 29 rtc::Buffer packet_; |
| 25 }; | 30 }; |
| 26 | 31 |
| 27 } // namespace webrtc | 32 } // namespace webrtc |
| 28 | 33 |
| 29 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_RTCP_PACKET_INCOMING_H_ | 34 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_RTCP_PACKET_INCOMING_H_ |
| OLD | NEW |