commit | 52ab23f8cac96934aea6f8c5207aa78449898f18 | [log] [tgz] |
---|---|---|
author | Pavol Marko <pmarko@google.com> | Tue Apr 26 22:03:05 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 26 22:03:05 2022 |
tree | 83eb8234c2d68e771276fd0724eff8fb43099d2a | |
parent | 8d4e65eb56e5fc981d747e531538860d837e5eda [diff] |
Replace instead of merging global network configuration When an ONC GlobalNetworkConfiguration is applied, replace the previous GlobalNetworkConfiguration instead of merging it. MergeDictionary was used here since the code was introduced in https://codereview.chromium.org/23526016 but I'm suspecting it was an oversight. Effectively it allows adding/modifying GlobalNetworkConfiguration entries without a chrome restart, but it does not allow removing entries without a chrome restart. See https://chromium.googlesource.com/chromium/src/+/master/components/onc/docs/onc_spec.md#GlobalNetworkConfiguration-type for possible entries. If we want such a behavior, we should implement it per setting and not generally on the input dictionary level IMO. There was one unittest which relied on the behavior by setting two policies in a row, changed it. Bug: b:219568573 Change-Id: I7c3b59b3a8af2d39438e05fa69c9dc2e82af82ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3449263 Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Michael Ershov <miersh@google.com> Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Pavol Marko <pmarko@chromium.org> Cr-Commit-Position: refs/heads/main@{#996390}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.