Split LoggedBweProbeResult into -Success and -Failure.

Also change ParsedEventLog::EventType to enum class.

Bug: webrtc:8111
Change-Id: I4747fb9cbcbdb963fa032770078218e5b416b3da
Reviewed-on: https://webrtc-review.googlesource.com/79280
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23432}
diff --git a/rtc_tools/event_log_visualizer/analyzer.cc b/rtc_tools/event_log_visualizer/analyzer.cc
index 71707a9..3bed18b 100644
--- a/rtc_tools/event_log_visualizer/analyzer.cc
+++ b/rtc_tools/event_log_visualizer/analyzer.cc
@@ -977,12 +977,10 @@
 
   TimeSeries result_series("Probing results.", LineStyle::kNone,
                            PointStyle::kHighlight);
-  for (auto& result : parsed_log_.bwe_probe_result_events()) {
-    if (result.bitrate_bps) {
-      float x = ToCallTimeSec(result.log_time_us());
-      float y = static_cast<float>(*result.bitrate_bps) / 1000;
-      result_series.points.emplace_back(x, y);
-    }
+  for (auto& result : parsed_log_.bwe_probe_success_events()) {
+    float x = ToCallTimeSec(result.log_time_us());
+    float y = static_cast<float>(result.bitrate_bps) / 1000;
+    result_series.points.emplace_back(x, y);
   }
 
   IntervalSeries alr_state("ALR", "#555555", IntervalSeries::kHorizontal);