Convert printer status query check to switch statement
Using a switch statement better represents the fact that the PrinterQueryResult enum only contains 3 possible options: SUCCESS, UNREACHABLE, or UNKNOWN_FAILURE. Bug: 1059607 Change-Id: I0887d532a9f2bc67f63ba218401480ae7e7b8762 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2349986 Commit-Queue: Gavin Williams <gavinwill@chromium.org> Reviewed-by:Zentaro Kavanagh <zentaro@chromium.org> Cr-Commit-Position: refs/heads/master@{#797099}
Showing
Please register or sign in to comment