-
Nate Fischer authored
No change to production logic. This adds FlagOverrideHelper to help apply batches of commandline flags and base::Features to the CommandLine singleton. It also is responsible for mapping flag names to Flag instances, resolving a TODO. This class is currently not used in production, but will be used in a future CL to apply flag overrides indicated from the developer UI. This adds robolectric unit tests to cover several corner cases. Bug: 981143 Test: run_android_webview_junit_tests -f *FlagOverrideHelperTest#* Change-Id: Ie982fc66aa62bf3d51ffe74c04c708b435157261 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1952032 Commit-Queue: Nate Fischer <ntfschr@chromium.org> Reviewed-by:
Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/master@{#722627}
a2dbef49