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

Unified Diff: webrtc/logging/rtc_event_log/events/rtc_event_audio_network_adaptation.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_network_adaptation.h
diff --git a/webrtc/logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h b/webrtc/logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h
index c9f0cf8932853482851cf55a9cc489196ed0a926..ebb1680409f71859bd279eab2be3cffb7be9224d 100644
--- a/webrtc/logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h
+++ b/webrtc/logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h
@@ -11,17 +11,25 @@
#ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_NETWORK_ADAPTATION_H_
#define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_NETWORK_ADAPTATION_H_
+#include <memory>
+
#include "webrtc/logging/rtc_event_log/events/rtc_event.h"
namespace webrtc {
+struct AudioEncoderRuntimeConfig;
+
class RtcEventAudioNetworkAdaptation final : public RtcEvent {
public:
- ~RtcEventAudioNetworkAdaptation() override = default;
+ explicit RtcEventAudioNetworkAdaptation(
+ std::unique_ptr<AudioEncoderRuntimeConfig> config);
+ ~RtcEventAudioNetworkAdaptation() override;
Type GetType() const override;
bool IsConfigEvent() const override;
+
+ const std::unique_ptr<const AudioEncoderRuntimeConfig> config_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698