Store usb printer uri information properly
Before printerAddress contained the full uri path. Now the hostname and path are properly stored in printerAddress, printerQueue respectively. Also relax printer uri validation to allow printerQueue to contain both the path and query portions of the uri. BUG=chromium:1111654 TEST=Add brother printer to DUT via usb TEST=chromeos_unittests --gtest_filter=PrinterTranslatorTest.* Change-Id: I669a21e02b0fc485a00f1ad33d2f806a4c58042a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2331519Reviewed-by:Piotr Pawliczek <pawliczek@chromium.org> Reviewed-by:
James Cook <jamescook@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
Sean Kau <skau@chromium.org> Commit-Queue: Pranav Batra <batrapranav@chromium.org> Cr-Commit-Position: refs/heads/master@{#794622}
Showing
Please register or sign in to comment