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

Issue 2519002: Redesign cloud printing subsystem layer. (Closed)

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

Description

On behalf of gene@chromium.org. Redesign cloud printing subsystem layer. Make it a class, and allow to have internal state. Also, some minor improvements. BUG=none TEST=Try run Windows cloud print proxy and confirm documents get printed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49200 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49281

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 9

Patch Set 4 : '' #

Total comments: 7

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+594 lines, -1495 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 2 3 4 5 6 7 8 9 12 chunks +31 lines, -15 lines 0 comments Download
M chrome/service/cloud_print/job_status_updater.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -1 line 0 comments Download
M chrome/service/cloud_print/job_status_updater.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -7 lines 0 comments Download
A + chrome/service/cloud_print/print_system.h View 1 2 3 4 5 2 chunks +85 lines, -44 lines 0 comments Download
A + chrome/service/cloud_print/print_system_cups.cc View 1 2 3 4 5 6 7 8 9 9 chunks +153 lines, -115 lines 0 comments Download
A + chrome/service/cloud_print/print_system_dummy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -64 lines 0 comments Download
A + chrome/service/cloud_print/print_system_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +264 lines, -155 lines 0 comments Download
D chrome/service/cloud_print/printer_info.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -127 lines 0 comments Download
D chrome/service/cloud_print/printer_info_cups.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -331 lines 0 comments Download
D chrome/service/cloud_print/printer_info_dummy.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -85 lines 0 comments Download
D chrome/service/cloud_print/printer_info_win.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -509 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.h View 1 2 3 4 5 6 7 8 6 chunks +12 lines, -11 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.cc View 1 2 3 4 5 6 7 8 9 chunks +24 lines, -24 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
gene
Preliminary CL. Please check common and windows parts. In the mean time I'll work on ...
10 years, 6 months ago (2010-06-03 00:23:45 UTC) #1
sanjeevr
Some initial comments. http://codereview.chromium.org/2519002/diff/26001/27003 File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/2519002/diff/26001/27003#newcode232 chrome/service/cloud_print/cloud_print_proxy_backend.cc:232: if (print_system_ != NULL) Please add ...
10 years, 6 months ago (2010-06-03 06:36:23 UTC) #2
gene
Done and uploaded. Please take a look. On 2010/06/03 06:36:23, sanjeevr wrote: > Some initial ...
10 years, 6 months ago (2010-06-03 18:31:31 UTC) #3
sanjeevr
http://codereview.chromium.org/2519002/diff/39001/40003 File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/2519002/diff/39001/40003#newcode279 chrome/service/cloud_print/cloud_print_proxy_backend.cc:279: if (!print_system_.get()) NOTREACHED here. Perhaps even a CHECK. http://codereview.chromium.org/2519002/diff/39001/40006 ...
10 years, 6 months ago (2010-06-03 21:32:42 UTC) #4
gene
Fixed and uploaded. Please take a look. On 2010/06/03 21:32:42, sanjeevr wrote: > http://codereview.chromium.org/2519002/diff/39001/40003 > ...
10 years, 6 months ago (2010-06-03 21:47:22 UTC) #5
gene
Added CUPS print system. Please take a look. I'll test both (mac & linux) proxies ...
10 years, 6 months ago (2010-06-03 23:11:57 UTC) #6
sanjeevr
LGTM with one nit. http://codereview.chromium.org/2519002/diff/68001/69003 File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/2519002/diff/68001/69003#newcode233 chrome/service/cloud_print/cloud_print_proxy_backend.cc:233: CloudPrintProxyBackend::Core::~Core() { You don't need ...
10 years, 6 months ago (2010-06-04 18:31:24 UTC) #7
gene1
done and uploaded. Also changed description On Fri, Jun 4, 2010 at 11:31 AM, <sanjeevr@chromium.org> ...
10 years, 6 months ago (2010-06-04 18:46:41 UTC) #8
gene
Added error handler for GetPrinterCapsAndDefaults. Please check On 2010/06/04 18:46:41, gene1 wrote: > done and ...
10 years, 6 months ago (2010-06-04 22:06:15 UTC) #9
sanjeevr
http://codereview.chromium.org/2519002/diff/80004/75004 File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/2519002/diff/80004/75004#newcode443 chrome/service/cloud_print/cloud_print_proxy_backend.cc:443: &CloudPrintProxyBackend::Core::RegisterNextPrinter); Nit: Don't use a next_task variable. Just use ...
10 years, 6 months ago (2010-06-04 22:59:51 UTC) #10
gene1
Done. Please take a look. On Fri, Jun 4, 2010 at 3:59 PM, <sanjeevr@chromium.org> wrote: ...
10 years, 6 months ago (2010-06-04 23:04:39 UTC) #11
sanjeevr
10 years, 6 months ago (2010-06-04 23:13:27 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld 408576698