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

Issue 11360151: Move common cloud print methods from service/cloud_print to common/cloud_print. (Closed)

Created:
8 years, 1 month ago by Chen Yu
Modified:
8 years ago
Reviewers:
msw, Nico, gene
CC:
chromium-reviews, sanjeevr, Vitaly Buka (NO REVIEWS)
Visibility:
Public.

Description

Move common cloud print code from service/cloud_print to common/cloud_print. Sharable constants and methods are moved to common/cloud_print so they can be shared by all cloud print related features. Classes/constants/methods in service/cloud_print are moved into namespace cloud_print. Tests are added. BUG=163603 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170715

Patch Set 1 : #

Patch Set 2 : #

Total comments: 24

Patch Set 3 : Address review comments #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 86

Patch Set 6 : Address review comments #

Patch Set 7 : Add unittests for cloud_print_helpers #

Patch Set 8 : #

Total comments: 18

Patch Set 9 : #

Patch Set 10 : Address review comments #

Total comments: 6

Patch Set 11 : Fix namespace #

Total comments: 2

Patch Set 12 : Remove unnecessary cloud_print:: #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+741 lines, -642 lines) Patch
M chrome/browser/chrome_to_mobile_service.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/common/cloud_print/cloud_print_constants.h View 1 2 3 4 5 3 chunks +42 lines, -17 lines 0 comments Download
A + chrome/common/cloud_print/cloud_print_constants.cc View 1 2 3 4 5 2 chunks +23 lines, -27 lines 0 comments Download
M chrome/common/cloud_print/cloud_print_helpers.h View 1 2 3 4 5 6 4 chunks +41 lines, -5 lines 0 comments Download
M chrome/common/cloud_print/cloud_print_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +173 lines, -5 lines 0 comments Download
A chrome/common/cloud_print/cloud_print_helpers_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +132 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_auth.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_auth.cc View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_connector.h View 1 2 3 4 5 5 chunks +8 lines, -4 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_connector.cc View 1 2 3 4 5 13 chunks +31 lines, -31 lines 0 comments Download
D chrome/service/cloud_print/cloud_print_consts.h View 1 2 3 4 5 1 chunk +0 lines, -81 lines 0 comments Download
D chrome/service/cloud_print/cloud_print_consts.cc View 1 2 3 4 5 1 chunk +0 lines, -63 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.h View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -45 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +27 lines, -190 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +81 lines, -81 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy.h View 1 2 3 4 5 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy.cc View 1 2 3 4 5 4 chunks +6 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.cc View 1 2 3 4 5 5 chunks +6 lines, -3 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_wipeout.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_wipeout.cc View 1 2 3 4 5 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/service/cloud_print/connector_settings.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/connector_settings.cc View 1 2 3 4 5 4 chunks +6 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/connector_settings_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M chrome/service/cloud_print/job_status_updater.h View 1 2 3 4 5 4 chunks +9 lines, -5 lines 0 comments Download
M chrome/service/cloud_print/job_status_updater.cc View 1 2 3 4 5 5 chunks +16 lines, -12 lines 0 comments Download
M chrome/service/cloud_print/print_system_cups.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.h View 1 2 3 4 5 10 chunks +16 lines, -13 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.cc View 1 2 3 4 5 14 chunks +28 lines, -27 lines 0 comments Download
M chrome/service/service_process.h View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/service/service_process.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Chen Yu
8 years, 1 month ago (2012-11-08 15:18:38 UTC) #1
msw
Sorry for the slightly delayed review, I hope you don't mind trying to make the ...
8 years, 1 month ago (2012-11-09 23:18:17 UTC) #2
Chen Yu
Thank you very much for the review, Mike! PTAL. https://codereview.chromium.org/11360151/diff/4002/chrome/chrome_common.gypi File chrome/chrome_common.gypi (right): https://codereview.chromium.org/11360151/diff/4002/chrome/chrome_common.gypi#newcode91 chrome/chrome_common.gypi:91: ...
8 years, 1 month ago (2012-11-13 14:02:14 UTC) #3
msw
Please be more thoroughly descriptive in the CL description (mention consts, tests, etc.) and assign ...
8 years, 1 month ago (2012-11-17 00:22:30 UTC) #4
Chen Yu
Thank you very much, Mike! Very sorry for being slow on it. Please take another ...
8 years ago (2012-11-26 12:07:06 UTC) #5
Chen Yu
Mike, do you know anyone from cloud print service OWNERS? Thanks!
8 years ago (2012-11-27 23:34:32 UTC) #6
msw
Please do file an issue for BUG=. It looks like sanjeevr touched a bit of ...
8 years ago (2012-11-29 18:43:13 UTC) #7
msw
LGTM with nits; thanks for all the cleanup and extra tests! https://codereview.chromium.org/11360151/diff/25007/chrome/common/cloud_print/cloud_print_helpers.cc File chrome/common/cloud_print/cloud_print_helpers.cc (right): ...
8 years ago (2012-11-29 19:57:36 UTC) #8
Chen Yu
Thanks! Gene, would you mind also having a look? https://chromiumcodereview.appspot.com/11360151/diff/25007/chrome/common/cloud_print/cloud_print_helpers.cc File chrome/common/cloud_print/cloud_print_helpers.cc (right): https://chromiumcodereview.appspot.com/11360151/diff/25007/chrome/common/cloud_print/cloud_print_helpers.cc#newcode23 chrome/common/cloud_print/cloud_print_helpers.cc:23: ...
8 years ago (2012-11-30 17:35:46 UTC) #9
msw
https://chromiumcodereview.appspot.com/11360151/diff/29004/chrome/common/cloud_print/cloud_print_helpers.cc File chrome/common/cloud_print/cloud_print_helpers.cc (right): https://chromiumcodereview.appspot.com/11360151/diff/29004/chrome/common/cloud_print/cloud_print_helpers.cc#newcode19 chrome/common/cloud_print/cloud_print_helpers.cc:19: namespace { No, what I mean is that you ...
8 years ago (2012-11-30 18:23:08 UTC) #10
Chen Yu
Sorry. PTAL, thanks! https://chromiumcodereview.appspot.com/11360151/diff/29004/chrome/common/cloud_print/cloud_print_helpers.cc File chrome/common/cloud_print/cloud_print_helpers.cc (right): https://chromiumcodereview.appspot.com/11360151/diff/29004/chrome/common/cloud_print/cloud_print_helpers.cc#newcode19 chrome/common/cloud_print/cloud_print_helpers.cc:19: namespace { On 2012/11/30 18:23:08, msw ...
8 years ago (2012-11-30 19:37:17 UTC) #11
msw
Still LGTM (with one nit); thanks again and sorry for the miscommunication. https://chromiumcodereview.appspot.com/11360151/diff/20089/chrome/common/cloud_print/cloud_print_helpers.cc File chrome/common/cloud_print/cloud_print_helpers.cc ...
8 years ago (2012-11-30 20:12:00 UTC) #12
gene
lgtm On 2012/11/30 19:37:17, Chen Yu wrote: > Sorry. PTAL, thanks! > > https://chromiumcodereview.appspot.com/11360151/diff/29004/chrome/common/cloud_print/cloud_print_helpers.cc > ...
8 years ago (2012-11-30 20:13:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chenyu@chromium.org/11360151/15054
8 years ago (2012-11-30 20:57:47 UTC) #14
commit-bot: I haz the power
Presubmit check for 11360151-15054 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-11-30 20:58:05 UTC) #15
Chen Yu
+thakis for chrome gypi OWNERS Nico, do you mind having a look at the chrome ...
8 years ago (2012-11-30 21:01:10 UTC) #16
Nico
lgtm
8 years ago (2012-11-30 21:03:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chenyu@chromium.org/11360151/29028
8 years ago (2012-12-03 00:12:05 UTC) #18
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-03 03:58:28 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chenyu@chromium.org/11360151/29028
8 years ago (2012-12-03 06:34:02 UTC) #20
commit-bot: I haz the power
8 years ago (2012-12-03 08:34:48 UTC) #21
Message was sent while issue was closed.
Change committed as 170715

Powered by Google App Engine
This is Rietveld 408576698