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

Unified Diff: webrtc/logging/rtc_event_log/events/rtc_event_probe_result_failure.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_probe_result_failure.h
diff --git a/webrtc/logging/rtc_event_log/events/rtc_event_probe_result_failure.h b/webrtc/logging/rtc_event_log/events/rtc_event_probe_result_failure.h
index bb18aa92d885c2a40c04942d8110eefbf69b45e2..6e8fcc4a0043ae60e8c3096499d9a3b279bc4c51 100644
--- a/webrtc/logging/rtc_event_log/events/rtc_event_probe_result_failure.h
+++ b/webrtc/logging/rtc_event_log/events/rtc_event_probe_result_failure.h
@@ -15,13 +15,23 @@
namespace webrtc {
+enum ProbeFailureReason {
+ kInvalidSendReceiveInterval,
+ kInvalidSendReceiveRatio,
+ kTimeout
+};
+
class RtcEventProbeResultFailure final : public RtcEvent {
public:
+ RtcEventProbeResultFailure(int id, ProbeFailureReason failure_reason);
~RtcEventProbeResultFailure() override = default;
Type GetType() const override;
bool IsConfigEvent() const override;
+
+ const int id_;
+ const ProbeFailureReason failure_reason_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698