commit | 6e91ff29ab084807c6a8bd5e36faa8adae26afe8 | [log] [tgz] |
---|---|---|
author | Mohsen Izadi <mohsen@chromium.org> | Wed Apr 24 19:31:57 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 24 19:31:57 2019 |
tree | f60f86edaf9b9d1b98317b06d7d85d3833fb8747 | |
parent | fe578c85a9910903b971198bbc4f4cf425e24efb [diff] |
Propagate feature overrides to services When ServiceProcessLauncher launches a service in a new process, it passes command line arguments to the new process. However, the values of --enabled-features and --disabled-features are not necessarily correct as features might have been overridden by code. This happens especially in tests that try a specific feature regardless of command line arguments. There are also tests that remove these flags from command line entirely and only keep track of features in base::FeatureList. This is already done in most other places that launch a new process (e.g. in browser). BUG=941057 Change-Id: Icb655c9c0d6f21823d885c8091481b5d4cad8af8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1571489 Reviewed-by: Ken Rockot <rockot@google.com> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#653707}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .