webrtc/system_wrappers/source
Emil Lundmark 6bf20cc76a Verify field trials looked up through field_trial::FindFullName
For now, the run-time check will only be enabled if the
rtc_strict_field_trials GN arg is set.

In order to allow testing with imaginary field trial keys, two test
helpers have been added. It's a bit awkward to test these since the
field trial string is already global, hence the helpers are also
modifying global state. Tests must make sure this global state is reset
between runs. Things won't be an issue anymore when [1] has removed the
global string.

[1] https://crbug.com/webrtc/10335

Bug: webrtc:14154
Change-Id: Ida44cc817079d7177325e2228cf1f1d242b799e2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/276269
Commit-Queue: Emil Lundmark <lndmrk@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38447}
2022-10-20 10:46:01 +00:00
..
clock.cc Cleanup WebRTC-SystemIndependentNtpTimeKillSwitch 2022-05-13 08:52:15 +00:00
clock_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
cpu_features.cc Check for BMI2 support before enabling AVX2 code paths 2022-04-29 08:41:52 +00:00
cpu_features_android.cc Refactor cpu_features_wrapper.h functions from C to C++. 2020-09-07 08:44:24 +00:00
cpu_features_linux.cc Fix -Wunused-but-set-variable. 2021-10-31 12:40:38 +00:00
cpu_info.cc Stricter sysconf(_SC_NPROCESSORS_ONLN) output check. 2022-01-03 16:34:33 +00:00
denormal_disabler.cc APM: add HW-only denormal disabler 2021-08-10 15:48:22 +00:00
denormal_disabler_unittest.cc Use GTEST_SKIP() instead of early return. 2021-08-12 15:24:13 +00:00
DEPS Verify field trials looked up through field_trial::FindFullName 2022-10-20 10:46:01 +00:00
field_trial.cc Verify field trials looked up through field_trial::FindFullName 2022-10-20 10:46:01 +00:00
field_trial_unittest.cc Rename more death test to *DeathTest 2020-05-26 20:27:34 +00:00
metrics.cc Delete rtc_base/atomic_ops.h 2022-06-28 08:32:13 +00:00
metrics_default_unittest.cc Adopt absl::string_view in system_wrappers/ 2022-05-17 08:23:24 +00:00
metrics_unittest.cc Adopt absl::string_view in system_wrappers/ 2022-05-17 08:23:24 +00:00
ntp_time_unittest.cc Remove Clock::NtpToMs. 2021-04-08 10:37:20 +00:00
rtp_to_ntp_estimator.cc Cleanup RtpToNtpEstimator 2022-03-17 10:26:57 +00:00
rtp_to_ntp_estimator_unittest.cc Cleanup RtpToNtpEstimator 2022-03-17 10:26:57 +00:00
sleep.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00