ScopedFeatureList: Add support for enabling/disabling multiple features with parameters
Currently, there is no way to enable a feature with parameters while enabling/disabling additional features. A feature with parameters can be configured using InitAndEnableFeatureWithParameters. However, that method restricts ScopedFeatureList to control only one feature and provides no support to enable/disable additional features. ScopedFeatureList::InitWithFeaturesAndParameters was introduced to support configuring multiple features with parameters. As a result, users of ScopedFeatureList can now enable more than one feature with parameters, and disable features while enabling other features with parameters. Bug: 933769 Change-Id: I1c2c44c4e1058e4b62deca1f439fbfb577e64c98 Reviewed-on: https://chromium-review.googlesource.com/c/1478479 Commit-Queue: Aditya Keerthi <adityakeerthi@google.com> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#634183}
Showing
Please register or sign in to comment