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

Issue 5736004: Added 'dry run' tag to the print job, to test proxy health without wasting pa... (Closed)

Created:
10 years ago by gene
Modified:
9 years, 5 months ago
Reviewers:
sanjeevr
CC:
chromium-reviews
Visibility:
Public.

Description

Added 'dry run' tag to the print job, to test proxy health without wasting paper/ink. BUG=none TEST=Make sure 'dry run' jobs does not get printed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69071

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -9 lines) Patch
M chrome/service/cloud_print/cloud_print_consts.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_consts.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/print_system.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/cloud_print/print_system_cups.cc View 1 2 3 4 7 chunks +43 lines, -6 lines 0 comments Download
M chrome/service/cloud_print/print_system_win.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.cc View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
gene
10 years ago (2010-12-10 19:01:05 UTC) #1
sanjeevr
10 years ago (2010-12-10 23:50:02 UTC) #2
LGTM with a couple of nits.

http://codereview.chromium.org/5736004/diff/25001/chrome/service/cloud_print/...
File chrome/service/cloud_print/print_system_cups.cc (right):

http://codereview.chromium.org/5736004/diff/25001/chrome/service/cloud_print/...
chrome/service/cloud_print/print_system_cups.cc:338: if (dry_run) {
if (dry_run || job_id) ?

http://codereview.chromium.org/5736004/diff/25001/chrome/service/cloud_print/...
chrome/service/cloud_print/print_system_cups.cc:670:
std::vector<std::string>::const_iterator tags_it;
Can you move this loop to CLoudPrintHelpers so we can use this in Windows code
as well?

Powered by Google App Engine
This is Rietveld 408576698