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

Issue 1308313003: Componentize chrome/common/sync_util (Closed)

Created:
5 years, 4 months ago by Jitu( very slow this week)
Modified:
5 years, 3 months ago
CC:
chromium-reviews, tim+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, zea+watch_chromium.org, blundell+watchlist_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize chrome/common/sync_util The file chrome/common/sync_util.cc/h and chrome/common/sync_util_unittest.cc moved to components/sync_driver/. Moved switches::kSyncServiceURL new file components/sync_driver/sync_driver_switch.cc. Added extra param version_info::Channel to -- GetSyncServiceURL () -- MakeDesktopUserAgentForSync() -- MakeUserAgentForSync () BUG=519578 Committed: https://crrev.com/182ef6426121e2e7c48d75a2c1a96af5ab002f3c Cr-Commit-Position: refs/heads/master@{#346600}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : fixed comments #

Total comments: 2

Patch Set 4 : Fix #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : Moved all kSync* switches to sync_driver_switches #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -286 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_desktop_utils.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/backup_rollback_controller.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/backup_rollback_controller_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/local_device_info_provider_impl.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc View 1 2 3 4 5 6 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory.cc View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/startup_controller.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/startup_controller_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/common/sync_util.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/common/sync_util.cc View 1 chunk +0 lines, -101 lines 0 comments Download
D chrome/common/sync_util_unittest.cc View 1 chunk +0 lines, -46 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M components/sync_driver.gypi View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/sync_driver/BUILD.gn View 1 2 3 4 5 6 4 chunks +6 lines, -0 lines 0 comments Download
M components/sync_driver/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A components/sync_driver/sync_driver_switches.h View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A components/sync_driver/sync_driver_switches.cc View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A + components/sync_driver/sync_util.h View 2 chunks +10 lines, -6 lines 0 comments Download
A + components/sync_driver/sync_util.cc View 1 2 3 4 chunks +9 lines, -32 lines 0 comments Download
A + components/sync_driver/sync_util_unittest.cc View 3 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 31 (11 generated)
Jitu( very slow this week)
PTAL !
5 years, 4 months ago (2015-08-25 10:47:25 UTC) #4
droger
lgtm https://codereview.chromium.org/1308313003/diff/60001/components/sync_driver/sync_util.cc File components/sync_driver/sync_util.cc (right): https://codereview.chromium.org/1308313003/diff/60001/components/sync_driver/sync_util.cc#newcode9 components/sync_driver/sync_util.cc:9: //#include "chrome/common/channel_info.h" Delete this line. https://codereview.chromium.org/1308313003/diff/60001/components/sync_driver/sync_util.cc#newcode16 components/sync_driver/sync_util.cc:16: std::string ...
5 years, 4 months ago (2015-08-25 11:25:44 UTC) #5
Jitu( very slow this week)
PTAL ! https://codereview.chromium.org/1308313003/diff/60001/components/sync_driver/sync_util.cc File components/sync_driver/sync_util.cc (right): https://codereview.chromium.org/1308313003/diff/60001/components/sync_driver/sync_util.cc#newcode9 components/sync_driver/sync_util.cc:9: //#include "chrome/common/channel_info.h" On 2015/08/25 11:25:43, droger wrote: ...
5 years, 4 months ago (2015-08-25 11:39:57 UTC) #6
Jitu( very slow this week)
Dear Zea, Please do the owner review for below files --- components/sync_driver/*
5 years, 4 months ago (2015-08-25 11:43:18 UTC) #8
Jitu( very slow this week)
On 2015/08/25 11:43:18, jitu wrote: > Dear Zea, > > Please do the owner review ...
5 years, 4 months ago (2015-08-25 11:46:23 UTC) #9
droger
https://codereview.chromium.org/1308313003/diff/80001/components/sync_driver/sync_util.cc File components/sync_driver/sync_util.cc (right): https://codereview.chromium.org/1308313003/diff/80001/components/sync_driver/sync_util.cc#newcode75 components/sync_driver/sync_util.cc:75: user_agent += " channel(" + GetChannelString(channel) + ")"; I ...
5 years, 4 months ago (2015-08-25 11:54:13 UTC) #10
Jitu( very slow this week)
PTAL ! https://codereview.chromium.org/1308313003/diff/80001/components/sync_driver/sync_util.cc File components/sync_driver/sync_util.cc (right): https://codereview.chromium.org/1308313003/diff/80001/components/sync_driver/sync_util.cc#newcode75 components/sync_driver/sync_util.cc:75: user_agent += " channel(" + GetChannelString(channel) + ...
5 years, 4 months ago (2015-08-25 13:03:48 UTC) #11
Nicolas Zea
Mostly LG with a couple nits and a question https://codereview.chromium.org/1308313003/diff/110001/chrome/browser/services/gcm/gcm_desktop_utils.cc File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): https://codereview.chromium.org/1308313003/diff/110001/chrome/browser/services/gcm/gcm_desktop_utils.cc#newcode104 chrome/browser/services/gcm/gcm_desktop_utils.cc:104: ...
5 years, 3 months ago (2015-08-27 18:16:16 UTC) #12
Jitu( very slow this week)
PTAL https://codereview.chromium.org/1308313003/diff/110001/chrome/browser/services/gcm/gcm_desktop_utils.cc File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): https://codereview.chromium.org/1308313003/diff/110001/chrome/browser/services/gcm/gcm_desktop_utils.cc#newcode104 chrome/browser/services/gcm/gcm_desktop_utils.cc:104: content::BrowserThread::UI), On 2015/08/27 18:16:16, Nicolas Zea wrote: > ...
5 years, 3 months ago (2015-08-28 05:52:43 UTC) #13
Nicolas Zea
LGTM, thanks!
5 years, 3 months ago (2015-08-28 17:52:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308313003/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313003/130001
5 years, 3 months ago (2015-08-31 05:07:45 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/63282) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-08-31 05:09:19 UTC) #19
Jitu( very slow this week)
@Lei Zhang, Please do owner review for below files -- chrome/common/*
5 years, 3 months ago (2015-08-31 06:20:57 UTC) #21
Lei Zhang
On 2015/08/31 06:20:57, jitu wrote: > @Lei Zhang, > > Please do owner review for ...
5 years, 3 months ago (2015-08-31 06:53:18 UTC) #22
Jitu( very slow this week)
On 2015/08/31 06:53:18, Lei Zhang wrote: > On 2015/08/31 06:20:57, jitu wrote: > > @Lei ...
5 years, 3 months ago (2015-08-31 07:31:04 UTC) #23
Jitu( very slow this week)
Dear Lei Zhang, PTAL ...
5 years, 3 months ago (2015-08-31 16:46:34 UTC) #25
Lei Zhang
lgtm
5 years, 3 months ago (2015-08-31 18:19:51 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308313003/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313003/170001
5 years, 3 months ago (2015-09-01 08:33:05 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:170001)
5 years, 3 months ago (2015-09-01 08:38:13 UTC) #30
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 08:38:51 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/182ef6426121e2e7c48d75a2c1a96af5ab002f3c
Cr-Commit-Position: refs/heads/master@{#346600}

Powered by Google App Engine
This is Rietveld 408576698