Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Issue 2915703002: Query printers for autoconf info during setup. (Closed)

Created:
3 years, 6 months ago by skau
Modified:
3 years, 6 months ago
Reviewers:
stevenjb, Carlson, xdai1
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Query printers for autoconf info during setup. Use an IPP query to establish if we can perform automatic configuaration of the printer by setting the autoconf field. This is determined by support for IPP 2.0+ and one of the two PDLs PDF or PWG-Raster. BUG=685676 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2915703002 Cr-Commit-Position: refs/heads/master@{#479243} Committed: https://chromium.googlesource.com/chromium/src/+/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98

Patch Set 1 #

Patch Set 2 : update javascript structures #

Total comments: 17

Patch Set 3 : dictionary #

Patch Set 4 : address comments #

Patch Set 5 : more comments #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : comments addressed #

Patch Set 8 : dealing with a bug #

Patch Set 9 : close the right dialog #

Total comments: 12

Patch Set 10 : rebase #

Patch Set 11 : address comments from stevenjb@ #

Patch Set 12 : boolean #

Patch Set 13 : star matches #

Patch Set 14 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -30 lines) Patch
M chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +62 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +126 lines, -8 lines 0 comments Download
M chrome/test/data/webui/settings/cups_printer_page_tests.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +25 lines, -10 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
skau
FYI: This integrates autoconf into the setup flow.
3 years, 6 months ago (2017-05-31 01:12:32 UTC) #3
Carlson
Mostly I think this looks ok, some nits. At a high level, I'd advise paying ...
3 years, 6 months ago (2017-05-31 16:58:53 UTC) #4
skau
Sorry about the lack of comments. I've been staring at this code for too long. ...
3 years, 6 months ago (2017-06-01 21:50:29 UTC) #6
xdai1
lgtm with nit https://codereview.chromium.org/2915703002/diff/100001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js File chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js (right): https://codereview.chromium.org/2915703002/diff/100001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js#newcode203 chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js:203: if (this.newPrinter.printerProtocol == 'ipp' || Do ...
3 years, 6 months ago (2017-06-05 17:55:55 UTC) #7
skau
Sorry for the delay. I've been able to revisit this. I've moved the query to ...
3 years, 6 months ago (2017-06-07 23:55:39 UTC) #8
skau
stevenjb@: settings OWNER PTAL. The dependent CL with QueryIppPrinter should be committed tomorrow.
3 years, 6 months ago (2017-06-08 05:00:51 UTC) #10
stevenjb
https://codereview.chromium.org/2915703002/diff/160001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js File chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js (right): https://codereview.chromium.org/2915703002/diff/160001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js#newcode178 chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js:178: // Strip a leading backslashes. It is expected that ...
3 years, 6 months ago (2017-06-08 15:58:28 UTC) #11
skau
Thanks for the review. PTAL. https://codereview.chromium.org/2915703002/diff/160001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js File chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js (right): https://codereview.chromium.org/2915703002/diff/160001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js#newcode178 chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js:178: // Strip a leading ...
3 years, 6 months ago (2017-06-08 22:11:26 UTC) #12
stevenjb
lgtm
3 years, 6 months ago (2017-06-09 21:00:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2915703002/200001
3 years, 6 months ago (2017-06-12 18:23:59 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/9322)
3 years, 6 months ago (2017-06-12 18:42:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2915703002/220001
3 years, 6 months ago (2017-06-12 21:06:23 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/9329)
3 years, 6 months ago (2017-06-12 21:29:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2915703002/240001
3 years, 6 months ago (2017-06-12 23:55:18 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/405211)
3 years, 6 months ago (2017-06-13 01:27:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2915703002/260001
3 years, 6 months ago (2017-06-13 23:50:11 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 01:32:23 UTC) #34
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/8d580f5a9aecf7a5682382b9a2eb...

Powered by Google App Engine
This is Rietveld 408576698