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

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: 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 44b40319180cdd3262ba36c4c17040471226c0ee..908cf2efc213b25ddea695dcde831a52413ea0dc 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,11 +15,21 @@
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;
+
+ const int id_;
+ const ProbeFailureReason failure_reason_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698