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

Unified Diff: webrtc/video/video_quality_test.cc

Issue 2717973005: Test field trial group with startswith rather than equals. (Closed)
Patch Set: Added IsEnabled() convenience function 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/video/video_quality_test.cc
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc
index 8389cfcc5f6d75f06ecd91a271f46cfecef8fcb5..affadc0a765dad1217d0d2acb694f21e3a057166 100644
--- a/webrtc/video/video_quality_test.cc
+++ b/webrtc/video/video_quality_test.cc
@@ -1441,8 +1441,7 @@ void VideoQualityTest::RunWithAnalyzer(const Params& params) {
// abort.
VideoStream& selected_stream = params_.ss.streams[params_.ss.selected_stream];
- bool is_quick_test_enabled =
- field_trial::FindFullName("WebRTC-QuickPerfTest") == "Enabled";
+ bool is_quick_test_enabled = field_trial::IsEnabled("WebRTC-QuickPerfTest");
VideoAnalyzer analyzer(
&send_transport, params_.analyzer.test_label,

Powered by Google App Engine
This is Rietveld 408576698