-
Mikel Astiz authored
Tests often have indirect dependencies to code that requires a FieldTrialList instantiated. To work that around, many existing tests manually instantiate a FieldTrialList, but this is cumbersome, distracting and hard to clean up once it no longer is necessary. Instead, this patch adopts base::test::ScopedFeatureList as part of the test suite for all tests. Follow-up patches will simplify tests. Bug: 1018667 Change-Id: I15b1f1097357f0fc3a30d4ac337d77b1ef607098 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883567 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#714882}
4a16450e