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

Issue 2708233006: Report print jobs that are aborted by CUPS as errors. (Closed)

Created:
3 years, 10 months ago by skau
Modified:
3 years, 10 months ago
Reviewers:
xdai1
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Report print jobs that are cancelled by CUPS as errors. If a print job encounters a problem, it can sometimes be cancelled by CUPS or the printer. We will now notify the user of an error in this situation. If a user cancels a print job, the behavior remains the same. BUG=682853, 684853 Review-Url: https://codereview.chromium.org/2708233006 Cr-Commit-Position: refs/heads/master@{#453025} Committed: https://chromium.googlesource.com/chromium/src/+/b5d49127cc30716341b904fd9cfc6e26e68b6d5d

Patch Set 1 #

Patch Set 2 : ready #

Total comments: 4

Patch Set 3 : better #

Total comments: 4

Patch Set 4 : address comments from xdai #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -18 lines) Patch
M chrome/browser/chromeos/printing/cups_print_job_notification.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/printing/cups_print_job_notification.cc View 7 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/printing/cups_print_job_notification_manager.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/printing/cups_print_job_notification_manager.cc View 1 2 1 chunk +13 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
skau
xdai@: It turns out, jobs can be cancelled without clicking the button. Who knew?
3 years, 10 months ago (2017-02-24 00:46:12 UTC) #3
xdai1
Yes I think that's explains the occasional crash. Thanks for digging it out! https://codereview.chromium.org/2708233006/diff/20001/chrome/browser/chromeos/printing/cups_print_job_notification.cc File ...
3 years, 10 months ago (2017-02-24 19:17:01 UTC) #4
skau
PTAL https://codereview.chromium.org/2708233006/diff/20001/chrome/browser/chromeos/printing/cups_print_job_notification.cc File chrome/browser/chromeos/printing/cups_print_job_notification.cc (right): https://codereview.chromium.org/2708233006/diff/20001/chrome/browser/chromeos/printing/cups_print_job_notification.cc#newcode90 chrome/browser/chromeos/printing/cups_print_job_notification.cc:90: On 2017/02/24 19:17:00, xdai1 wrote: > I think ...
3 years, 10 months ago (2017-02-24 23:09:34 UTC) #5
xdai1
lgtm with questions https://codereview.chromium.org/2708233006/diff/40001/chrome/browser/chromeos/printing/cups_print_job_notification.h File chrome/browser/chromeos/printing/cups_print_job_notification.h (right): https://codereview.chromium.org/2708233006/diff/40001/chrome/browser/chromeos/printing/cups_print_job_notification.h#newcode10 chrome/browser/chromeos/printing/cups_print_job_notification.h:10: #include <vector> Just curious: Normally I ...
3 years, 10 months ago (2017-02-24 23:31:52 UTC) #6
skau
Thanks for the review. Questions answered. https://codereview.chromium.org/2708233006/diff/40001/chrome/browser/chromeos/printing/cups_print_job_notification.h File chrome/browser/chromeos/printing/cups_print_job_notification.h (right): https://codereview.chromium.org/2708233006/diff/40001/chrome/browser/chromeos/printing/cups_print_job_notification.h#newcode10 chrome/browser/chromeos/printing/cups_print_job_notification.h:10: #include <vector> On ...
3 years, 10 months ago (2017-02-25 00:16:06 UTC) #7
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/2708233006/60001
3 years, 10 months ago (2017-02-25 00:16:47 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-25 00:49:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b5d49127cc30716341b904fd9cfc...

Powered by Google App Engine
This is Rietveld 408576698