New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662755 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Feature

Blocked on:
issue 670037

Blocking:
issue 617254



Sign in to add a comment

Plumb PPDProvider into add printer flow

Project Member Reported by weifangsun@chromium.org, Nov 6 2016

Issue description

When setting up a new printer, we need to lookup and pull the corresponding PPD file from the PPD server.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cf123fc79469b4b77050b828bf3c94bf88af7183

commit cf123fc79469b4b77050b828bf3c94bf88af7183
Author: justincarlson <justincarlson@chromium.org>
Date: Tue Nov 15 03:46:35 2016

Create ppd_cache directory if it doesn't exist.  Also, rename it to CamelCase to match the observed conventions of other things in /home/chronos.

The name change is safe because no one uses this directory yet.  No
one uses it yet because all the functionality that *would* use it is
failing because...the directory is never created.

BUG= 662755 

Review-Url: https://codereview.chromium.org/2500163002
Cr-Commit-Position: refs/heads/master@{#432080}

[modify] https://crrev.com/cf123fc79469b4b77050b828bf3c94bf88af7183/chrome/common/chrome_paths.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Nov 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/f95cbf5190c34a748ef3bd93a4c751f9581fd91d

commit f95cbf5190c34a748ef3bd93a4c751f9581fd91d
Author: Justin Carlson <justincarlson@chromium.org>
Date: Mon Nov 14 22:55:52 2016

debugd: Fill in ppd cache directory as a source for ppd copies.

Also, fix a potential memory corruption bug using std::equals, adjust
some internal function signatures to make path components instead
of full paths the common representation.

TEST=manual invocation
BUG= chromium:662755 

Change-Id: Id37979c708724feaef4fc59568feee9700969480
Reviewed-on: https://chromium-review.googlesource.com/411448
Commit-Ready: Justin Carlson <justincarlson@chromium.org>
Tested-by: Justin Carlson <justincarlson@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/f95cbf5190c34a748ef3bd93a4c751f9581fd91d/debugd/src/cups_tool.cc

Blockedon: 670037
Project Member

Comment 6 by bugdroid1@chromium.org, Dec 10 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d96dd555f99419bee86970516993aa9631421d58

commit d96dd555f99419bee86970516993aa9631421d58
Author: skau <skau@chromium.org>
Date: Sat Dec 10 01:58:26 2016

Interrogate PpdProvider from PrintPreview.

Make use of the PpdCache from PrintPreview.  Setup downloading ppds from
the quirks server.

BUG= 662755 
TEST=Setup a printer.  Log out.  Rename ppd file.  Open printer from print
preview.

Review-Url: https://codereview.chromium.org/2542363002
Cr-Commit-Position: refs/heads/master@{#437718}

[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/chromeos/BUILD.gn
[add] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/chromeos/printing/ppd_provider_factory.cc
[add] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/chromeos/printing/ppd_provider_factory.h
[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/ui/webui/print_preview/print_preview_handler.h
[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/ui/webui/print_preview/printer_backend_proxy.cc
[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/ui/webui/print_preview/printer_backend_proxy.h
[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc
[modify] https://crrev.com/d96dd555f99419bee86970516993aa9631421d58/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc

Comment 7 by skau@chromium.org, Dec 10 2016

Status: Fixed (was: Assigned)
Print preview now requests ppds from the PPDProvider.  Closing.

Comment 8 by dchan@google.com, May 30 2017

Labels: VerifyIn-60

Comment 9 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 10 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment