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

Issue 2545663002: Hookup the PpdProvider in the printer setup flow. (Closed)

Created:
4 years ago by skau
Modified:
4 years ago
Reviewers:
dpapad, Carlson, xdai1
CC:
chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, oshima+watch_chromium.org, rbpotter, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hookup the PpdProvider in the printer setup flow. Cache manually added PPDs and lookup PPDs with the provider in the add printer dialog. BUG=670037 Committed: https://crrev.com/9b008b2277810ec4638488b3bfe2fd2ef5b85eb7 Cr-Commit-Position: refs/heads/master@{#437078}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Consolidate IPP Everywhere logic. #

Total comments: 8

Patch Set 3 : rebase #

Patch Set 4 : update comment #

Patch Set 5 : update comment #

Total comments: 2

Patch Set 6 : address dpadpad@ comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -19 lines) Patch
M chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc View 1 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 3 4 5 3 chunks +47 lines, -12 lines 0 comments Download
M chromeos/printing/printer_configuration.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chromeos/printing/printer_configuration.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
skau
justincarlson@: Can you take a quick look? It ended up being more code than I ...
4 years ago (2016-12-01 01:23:17 UTC) #2
Carlson
https://codereview.chromium.org/2545663002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2545663002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode227 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:227: const Printer::PpdReference& ppd_reference = printer->ppd_reference(); Add a comment about ...
4 years ago (2016-12-01 01:58:44 UTC) #3
skau
Thanks for the review. I'll loop in relevant owners now. xdai@ chromeos/printing/*, chrome/browser/ui/webui/settings/* dpadpad@ chrome/browser/ui/webui/settings/* ...
4 years ago (2016-12-01 21:45:13 UTC) #5
skau
dpapad@ Can you also review .../print_preview/* as you're an owner of printing/
4 years ago (2016-12-01 21:46:38 UTC) #6
Carlson
https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h (right): https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h#newcode92 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h:92: // automatic configuration will be attempted. |ppd_path| should be ...
4 years ago (2016-12-01 22:59:52 UTC) #7
xdai1
lgtm https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode238 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:238: weak_factory_.GetWeakPtr(), base::Passed(&printer))); Is base::Passed(&printer)) preferred over base::Passed(std::move(printer))?
4 years ago (2016-12-01 23:18:18 UTC) #8
skau
Comments addressed. PTAL. https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode238 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:238: weak_factory_.GetWeakPtr(), base::Passed(&printer))); On 2016/12/01 23:18:17, xdai1 ...
4 years ago (2016-12-05 20:40:51 UTC) #9
dpapad
https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode220 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:220: VLOG(1) << "PPD Cached: " << cached; Is this ...
4 years ago (2016-12-05 23:09:13 UTC) #10
Carlson
lgtm https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h (right): https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h#newcode95 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h:95: const std::string& ppd_path, Shouldn't this be a base::FilePath? ...
4 years ago (2016-12-05 23:40:11 UTC) #11
skau
Thanks for the review. PTAL. https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2545663002/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode220 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:220: VLOG(1) << "PPD Cached: ...
4 years ago (2016-12-06 20:55:46 UTC) #12
dpapad
lgtm
4 years ago (2016-12-07 01:19:40 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/2545663002/100001
4 years ago (2016-12-07 21:19:53 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-07 22:09:55 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-07 22:13:18 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9b008b2277810ec4638488b3bfe2fd2ef5b85eb7
Cr-Commit-Position: refs/heads/master@{#437078}

Powered by Google App Engine
This is Rietveld 408576698