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

Unified Diff: webrtc/video/end_to_end_tests.cc

Issue 2922953002: Reland of Protect new header extension by field trial experiment to allow hardcoding it in SDP (Closed)
Patch Set: Created 3 years, 6 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/end_to_end_tests.cc
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc
index 4880b819f49d288ef13cf4fc009f39b44faf12d2..0293f7c110cf1efd2795032fb2ddf043cd775d66 100644
--- a/webrtc/video/end_to_end_tests.cc
+++ b/webrtc/video/end_to_end_tests.cc
@@ -2791,6 +2791,8 @@
int num_frames_received_ GUARDED_BY(&crit_);
} test;
+ test::ScopedFieldTrials override_field_trials(
+ "WebRTC-VideoContentTypeExtension/Enabled/");
metrics::Reset();
Call::Config send_config(test.GetSenderCallConfig());
@@ -2875,6 +2877,8 @@
const bool kEnabledRtx = false;
const bool kEnabledRed = false;
const bool kScreenshare = true;
+ test::ScopedFieldTrials override_field_trials(
+ "WebRTC-VideoContentTypeExtension/Enabled/");
VerifyHistogramStats(kEnabledRtx, kEnabledRed, kScreenshare);
}

Powered by Google App Engine
This is Rietveld 408576698