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

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

Issue 3012923002: Add the internals of RtcEvent's subclasses (Closed)
Patch Set: Rebased 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_audio_send_stream_config.h
diff --git a/webrtc/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.h b/webrtc/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.h
index 81fbe0951a8c306e762e6dac4d6944933b96ac8a..6c6e874cdb99f9405e1c652012d56cdca4b540d3 100644
--- a/webrtc/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.h
+++ b/webrtc/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.h
@@ -11,17 +11,27 @@
#ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFIG_H_
#define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFIG_H_
+#include <memory>
+
#include "webrtc/logging/rtc_event_log/events/rtc_event.h"
namespace webrtc {
+namespace rtclog {
+struct StreamConfig;
+} // namespace rtclog
+
class RtcEventAudioSendStreamConfig final : public RtcEvent {
public:
- ~RtcEventAudioSendStreamConfig() override = default;
+ explicit RtcEventAudioSendStreamConfig(
+ std::unique_ptr<rtclog::StreamConfig> config);
+ ~RtcEventAudioSendStreamConfig() override;
Type GetType() const override;
bool IsConfigEvent() const override;
+
+ const std::unique_ptr<const rtclog::StreamConfig> config_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698