Support Using ScopedFeatureList in SetUp for Browser Test
Currently we don't support using ScopedFeatureList::* in SetUp for InProcessBrowserTest since we clear FeatureList at the beginning of InProcessBrowserTest::SetUp.
In this patch, we remove the FeatureList::ClearInstanceForTesting() and move the feature change in InProcessBrowserTest to ScopedFeatureList. So we are able to move all feature list change calls SetUp and use ScopedFeatureList::*.
BUG=713390
Review-Url: https://codereview.chromium.org/2876153002
Cr-Commit-Position: refs/heads/master@{#485096}
CrOS-Libchrome-Original-Commit: 83b3cdfd66d9ce73d5f4a8a0d4987d32f2ff0e5b
2 files changed