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 |