Index: webrtc/logging/rtc_event_log/rtc_event_log.h |
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.h b/webrtc/logging/rtc_event_log/rtc_event_log.h |
index 5a7067de53dd19a3bc749a642a340679d0c11f82..b3dca79a874b146c78bee1e0202b85c2588617c3 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log.h |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.h |
@@ -18,6 +18,7 @@ |
#include "webrtc/api/array_view.h" |
#include "webrtc/api/rtpparameters.h" |
#include "webrtc/common_types.h" |
+#include "webrtc/logging/rtc_event_log/events/rtc_event.h" |
#include "webrtc/rtc_base/platform_file.h" |
namespace webrtc { |
@@ -113,6 +114,9 @@ class RtcEventLog { |
// which it would be permissible to read and/or modify it. |
virtual void StopLogging() = 0; |
+ // Logs an event. |
+ virtual void LogRtcEvent(std::unique_ptr<RtcEvent> event) = 0; |
+ |
// Logs configuration information for a video receive stream. |
virtual void LogVideoReceiveStreamConfig( |
const rtclog::StreamConfig& config) = 0; |
@@ -207,6 +211,7 @@ class RtcEventLogNullImpl : public RtcEventLog { |
return false; |
} |
void StopLogging() override {} |
+ void LogRtcEvent(std::unique_ptr<RtcEvent> event) override {} |
void LogVideoReceiveStreamConfig( |
const rtclog::StreamConfig& config) override {} |
void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) override {} |