commit | b92927ffeb7866a58ee291c8d3e0bf569671f921 | [log] [tgz] |
---|---|---|
author | Alan Screen <awscreen@chromium.org> | Tue Jun 14 21:27:20 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 14 21:27:20 2022 |
tree | 87924c8499b7ce6dc29be240f0d9546355e75285 | |
parent | 65f06ddc78c1b6c085e49bdb4eb294c2c576dc59 [diff] |
[cleanup] update PrintBackend::EnumeratePrinters to use reference The API for EnumeratePrinters() indicates that the provided list is to be empty on entry. Some implementations (but not all) were explicitly calling to force it empty. Replace those with a DCHECK on emptiness, to match the API description. Bug: 1206045 Change-Id: Ide27e4f519db9281a46a2ede392a5b7b951619d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3699085 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1014149}
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.