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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: |min_probes| --> |min_packets| Created 3 years, 10 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/rtc_event_log_unittest_helper.h
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h b/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
index 2f4e17703b95d6834307476aa0acbea50d226707..5d6b71d44765d2ea0d0219da86c923727928836b 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h
@@ -65,6 +65,23 @@ class RtcEventLogTestHelper {
size_t index);
static void VerifyLogEndEvent(const ParsedRtcEventLog& parsed_log,
size_t index);
+
+ static void VerifyBweProbeCluster(const ParsedRtcEventLog& parsed_log,
+ size_t index,
+ uint32_t id,
+ uint32_t bitrate_bps,
+ uint32_t min_probes,
terelius 2017/02/20 14:00:31 probes -> packets
+ uint32_t min_bytes);
+
+ static void VerifyProbeResultSuccess(const ParsedRtcEventLog& parsed_log,
+ size_t index,
+ uint32_t id,
+ uint32_t bitrate_bps);
+
+ static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log,
+ size_t index,
+ uint32_t id,
+ ProbeFailureReason failure_reason);
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698