forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create APIs to support parsing XML data of XPS print capabilities
Create APIs to parse base::Value into the PrinterSemanticCapsAndDefaults data structure. In the printing/print_backend level, the PTGetPrinterCapabilities() XPS API only returns printer capabilities in XML data. Parsing XML data to base::Value just happens at a higher level. After that, the ParsingValueForXpsPrinterCapabilities() API can be called to parse base::Value into the PrinterSemanticCapsAndDefaults data structure. Bug: 1291257 Change-Id: I2e92da2178a101d74d2834e5a77362d9055c989c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3522751 Reviewed-by: Alan Screen <awscreen@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Daisy Doan <cucdoan@google.com> Cr-Commit-Position: refs/heads/main@{#981963}
- Loading branch information
Cuc Doan
authored and
Chromium LUCI CQ
committed
Mar 17, 2022
1 parent
e8923bd
commit 4951961
Showing
5 changed files
with
225 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters