commit | 202e49a03286d9cf7b0ad4548d1dcf89d58e92c5 | [log] [tgz] |
---|---|---|
author | Alan Screen <awscreen@chromium.org> | Tue Sep 21 06:34:28 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 21 06:34:28 2021 |
tree | 024d21dd0f83d0ce5fe54096cc151732e6395c3c | |
parent | 1db0b7a74452d8065ba602d4fb752e6e4156efb1 [diff] |
Replace PrintingContext::Result with mojom::ResultCode Pushing document printing to out-of-process means that there could now be a new possible access-denied result for PrintingContext operations. While the PrintingResult enum could be extended to include this, it can instead just use the same mojom::ResultCode that is used for other operations which interact with OS APIs since they would have the same effective enum values. In preparation for adding access-denied support to PrintingContext, first replace all usage of PrintingContext::Result with mojom::ResultCode. There is no logical change with this replacement. Bug: 809738 Change-Id: I997d4d207232142dbd36e59e3689ec71bb15fed9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3171346 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Raymes Khoury <raymes@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Cr-Commit-Position: refs/heads/main@{#923261}
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.