Control viewing feature in EG tests through ScopedFeatureList
Currently, the passwords settings EG tests enable the "viewing passwords" feature through NSDefaults (=experimental flags). Since recently, controlling through a base::Feature is also possible. This CL gets rid of the NSDefaults code, which needs to reset the state manually with a simpler ScopedFeatureList, which limits the boilerplate. Bug: 744058 Change-Id: I594fb4bbd3f90dd81a1f0f35c7f1ccb70aee965c Reviewed-on: https://chromium-review.googlesource.com/573023Reviewed-by:Louis Romero <lpromero@chromium.org> Commit-Queue: Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#487168}
Showing
Please register or sign in to comment