commit | edc5deaa75647d0a3ed69561c55c67a674702d36 | [log] [tgz] |
---|---|---|
author | Roland Bock <rbock@google.com> | Fri Nov 04 11:01:04 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 04 11:01:04 2022 |
tree | 62c813bf7f75388e64ddfffe99e39e7c80295004 | |
parent | 8a97f77c4e50cb5d65f559a0a2a23adaebbd03b3 [diff] |
Replace PolicyBundle::CopyFrom with PolicyBundle::Clone The existing `CopyFrom` is not immediately obvious as the name does not clearly indicate whether the copy would be replacing or adding to the existing data. This CL therefore introduces a `Clone` function. Its results can be move assigned, for instance, which allows for more idiomatic code. Bug: b/255284552 Change-Id: I8fb4d94b5c8491f65b881a79b43c9b5f68d21966 Tests: Existing tests Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3725548 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Roland Bock <rbock@google.com> Quick-Run: Roland Bock <rbock@google.com> Reviewed-by: Igor <igorcov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067475}
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.