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

Issue 2559123002: [Sync] SyncEngine refactor part 2: SyncServiceBase. (Closed)

Created:
4 years ago by maxbogue
Modified:
4 years ago
Reviewers:
skym, pavely
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] SyncEngine refactor part 2: SyncServiceBase. This change introduces SyncServiceBase as a base class of PSS and consolidates engine initialization logic into it from PSS and SBHI. This new class will enable us to siphon logic out of SBHI until it can become SyncEngineProxy (no business logic). This change also begins aligning SBHC with the SyncEngine interface, so it can eventually become SyncEngineImpl. BUG=669967 Committed: https://crrev.com/fa5a4db658dda186eedfd7b5989f9b2abbe48c8f Cr-Commit-Position: refs/heads/master@{#438620}

Patch Set 1 #

Patch Set 2 : Fix Windows maybe? #

Patch Set 3 : Fix FakeServer. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Patch Set 6 : Self-review (added comments). #

Total comments: 4

Patch Set 7 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -503 lines) Patch
M components/browser_sync/abstract_profile_sync_service_test.cc View 1 2 3 4 4 chunks +17 lines, -14 lines 0 comments Download
M components/browser_sync/profile_sync_service.h View 11 chunks +14 lines, -51 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 2 3 4 5 6 7 chunks +28 lines, -93 lines 0 comments Download
M components/browser_sync/profile_sync_service_unittest.cc View 2 chunks +4 lines, -42 lines 0 comments Download
M components/sync/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.h View 1 2 3 4 4 chunks +3 lines, -61 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.cc View 1 2 3 4 3 chunks +26 lines, -75 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.h View 1 2 3 4 5 chunks +4 lines, -26 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.cc View 1 2 3 4 5 chunks +17 lines, -78 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl_unittest.cc View 1 chunk +17 lines, -6 lines 0 comments Download
A components/sync/driver/sync_service_base.h View 1 2 3 4 5 6 1 chunk +107 lines, -0 lines 0 comments Download
A components/sync/driver/sync_service_base.cc View 1 2 3 4 5 1 chunk +147 lines, -0 lines 0 comments Download
M components/sync/engine/fake_sync_engine.h View 1 chunk +1 line, -16 lines 0 comments Download
M components/sync/engine/fake_sync_engine.cc View 1 chunk +4 lines, -18 lines 0 comments Download
M components/sync/engine/sync_engine.h View 3 chunks +38 lines, -17 lines 0 comments Download
M components/sync/engine/sync_engine.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M components/sync/test/fake_server/fake_server_network_resources.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M components/sync/test/fake_server/fake_server_network_resources.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 39 (31 generated)
maxbogue
Sky, Pavel, PTAL!
4 years ago (2016-12-12 20:55:52 UTC) #22
pavely
lgtm
4 years ago (2016-12-13 22:50:15 UTC) #25
skym
https://codereview.chromium.org/2559123002/diff/100001/components/browser_sync/profile_sync_service.cc File components/browser_sync/profile_sync_service.cc (right): https://codereview.chromium.org/2559123002/diff/100001/components/browser_sync/profile_sync_service.cc#newcode599 components/browser_sync/profile_sync_service.cc:599: if (!IsFirstSetupComplete()) What's going on here? Is this copied ...
4 years ago (2016-12-14 19:02:35 UTC) #26
maxbogue
https://codereview.chromium.org/2559123002/diff/100001/components/browser_sync/profile_sync_service.cc File components/browser_sync/profile_sync_service.cc (right): https://codereview.chromium.org/2559123002/diff/100001/components/browser_sync/profile_sync_service.cc#newcode599 components/browser_sync/profile_sync_service.cc:599: if (!IsFirstSetupComplete()) On 2016/12/14 19:02:35, skym wrote: > What's ...
4 years ago (2016-12-14 19:38:10 UTC) #29
skym
lgtm
4 years ago (2016-12-14 19:52:47 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2559123002/120001
4 years ago (2016-12-14 20:04:00 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-14 21:06:48 UTC) #37
commit-bot: I haz the power
4 years ago (2016-12-14 21:08:48 UTC) #39
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fa5a4db658dda186eedfd7b5989f9b2abbe48c8f
Cr-Commit-Position: refs/heads/master@{#438620}

Powered by Google App Engine
This is Rietveld 408576698