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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log.h

Issue 3010263002: Events - backup
Patch Set: Compiles 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/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 {}
« no previous file with comments | « webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698