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

Unified Diff: webrtc/logging/rtc_event_log/events/rtc_event_audio_receive_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_receive_stream_config.h
diff --git a/webrtc/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.h b/webrtc/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.h
index 7f2549e554e266924f395457c6c43fb8f250b1db..de15a616ff234bfa2901264baa29ebcf3afabc98 100644
--- a/webrtc/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.h
+++ b/webrtc/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.h
@@ -11,17 +11,27 @@
#ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_RECEIVE_STREAM_CONFIG_H_
#define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_RECEIVE_STREAM_CONFIG_H_
+#include <memory>
+
#include "webrtc/logging/rtc_event_log/events/rtc_event.h"
namespace webrtc {
+namespace rtclog {
+struct StreamConfig;
+} // namespace rtclog
+
class RtcEventAudioReceiveStreamConfig final : public RtcEvent {
public:
- ~RtcEventAudioReceiveStreamConfig() override = default;
+ explicit RtcEventAudioReceiveStreamConfig(
+ std::unique_ptr<rtclog::StreamConfig> config);
+ ~RtcEventAudioReceiveStreamConfig() 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