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

Issue 6356007: Added a diagnostic user message when enumerating printers fails. Also tweaked... (Closed)

Created:
9 years, 11 months ago by sanjeevr
Modified:
9 years, 7 months ago
Reviewers:
gene, gene1, Scott Byer
CC:
chromium-reviews
Visibility:
Public.

Description

Added a diagnostic user message when enumerating printers fails. Also tweaked some of the strings. BUG=None TEST=Test Cloud Print Proxy. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72422

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed build errors #

Total comments: 5

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -76 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_consts.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_consts.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 2 12 chunks +82 lines, -37 lines 0 comments Download
M chrome/service/cloud_print/print_system.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/service/cloud_print/print_system_cups.cc View 1 2 7 chunks +16 lines, -4 lines 0 comments Download
M chrome/service/cloud_print/print_system_win.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M printing/backend/print_backend.h View 1 1 chunk +1 line, -1 line 0 comments Download
M printing/backend/print_backend_cups.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M printing/backend/print_backend_win.cc View 1 2 chunks +28 lines, -24 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sanjeevr
9 years, 11 months ago (2011-01-24 19:04:15 UTC) #1
gene1
a couple of lint errors too :) http://codereview.chromium.org/6356007/diff/1/chrome/service/cloud_print/cloud_print_proxy_backend.cc File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/6356007/diff/1/chrome/service/cloud_print/cloud_print_proxy_backend.cc#newcode410 chrome/service/cloud_print/cloud_print_proxy_backend.cc:410: if (!result.succeeded() ...
9 years, 11 months ago (2011-01-24 19:46:47 UTC) #2
sanjeevr
http://codereview.chromium.org/6356007/diff/1/chrome/service/cloud_print/cloud_print_proxy_backend.cc File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/6356007/diff/1/chrome/service/cloud_print/cloud_print_proxy_backend.cc#newcode410 chrome/service/cloud_print/cloud_print_proxy_backend.cc:410: if (!result.succeeded() && !result.message().empty()) { On 2011/01/24 19:46:47, gene1 ...
9 years, 11 months ago (2011-01-24 19:59:05 UTC) #3
Scott Byer
http://codereview.chromium.org/6356007/diff/13001/chrome/service/cloud_print/print_system_cups.cc File chrome/service/cloud_print/print_system_cups.cc (right): http://codereview.chromium.org/6356007/diff/13001/chrome/service/cloud_print/print_system_cups.cc#newcode159 chrome/service/cloud_print/print_system_cups.cc:159: std::string enum_failed_server_list_; Since it's not being used, how about ...
9 years, 11 months ago (2011-01-24 20:02:07 UTC) #4
sanjeevr
Made the following changes: 1. Made the failure value in the CUPS print system a ...
9 years, 11 months ago (2011-01-24 22:37:55 UTC) #5
gene1
lgtm On 2011/01/24 22:37:55, sanjeevr wrote: > Made the following changes: > > 1. Made ...
9 years, 11 months ago (2011-01-24 23:05:52 UTC) #6
Scott Byer
9 years, 11 months ago (2011-01-24 23:20:41 UTC) #7
LGTM

On 2011/01/24 22:37:55, sanjeevr wrote:
> Made the following changes:
> 
> 1. Made the failure value in the CUPS print system a bool (instead of
> maintaining a server list).
> 2. Used a fallback message if the message is empty.
> 3. Made |delete_from_server| an out argument.
> 
> Please take a look.

Powered by Google App Engine
This is Rietveld 408576698