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

Issue 2649133012: [Sync] Calculate active types and track catch up in DTMI not PSS. (Closed)

Created:
3 years, 11 months ago by maxbogue
Modified:
3 years, 11 months ago
Reviewers:
pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Calculate active types and track catch up in DTMI not PSS. This change is in preparation for factoring encryption-related logic out of ProfileSyncService. It moves the calculation of active data types from PSS to DTM (which makes sense since it's where we know which types are active). It also removes redundant tracking of the catch_up_configure_in_progress_ state from PSS, since this is already tracked in DTMI. Instead it's passed as a boolean in the ConfigureResult object. BUG=685337 Review-Url: https://codereview.chromium.org/2649133012 Cr-Commit-Position: refs/heads/master@{#446433} Committed: https://chromium.googlesource.com/chromium/src/+/80b39191c5d7cbe798092d33e15f2118d658dbf1

Patch Set 1 #

Patch Set 2 : Fix ProfileSyncServiceTest. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -20 lines) Patch
M components/browser_sync/profile_sync_service.h View 1 chunk +0 lines, -6 lines 2 comments Download
M components/browser_sync/profile_sync_service.cc View 6 chunks +4 lines, -11 lines 0 comments Download
M components/browser_sync/profile_sync_service_unittest.cc View 1 6 chunks +11 lines, -1 line 0 comments Download
M components/sync/driver/data_type_manager.h View 2 chunks +7 lines, -0 lines 0 comments Download
M components/sync/driver/data_type_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/data_type_manager_impl.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M components/sync/driver/data_type_manager_mock.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
maxbogue
Pavel, PTAL!
3 years, 11 months ago (2017-01-26 03:39:09 UTC) #10
pavely
https://codereview.chromium.org/2649133012/diff/20001/components/browser_sync/profile_sync_service.h File components/browser_sync/profile_sync_service.h (left): https://codereview.chromium.org/2649133012/diff/20001/components/browser_sync/profile_sync_service.h#oldcode944 components/browser_sync/profile_sync_service.h:944: bool catch_up_configure_in_progress_; I don't think we should move this ...
3 years, 11 months ago (2017-01-26 18:02:51 UTC) #11
maxbogue
https://codereview.chromium.org/2649133012/diff/20001/components/browser_sync/profile_sync_service.h File components/browser_sync/profile_sync_service.h (left): https://codereview.chromium.org/2649133012/diff/20001/components/browser_sync/profile_sync_service.h#oldcode944 components/browser_sync/profile_sync_service.h:944: bool catch_up_configure_in_progress_; On 2017/01/26 18:02:51, pavely wrote: > I ...
3 years, 11 months ago (2017-01-26 18:41:39 UTC) #12
pavely
lgtm
3 years, 11 months ago (2017-01-26 20:07:06 UTC) #13
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/2649133012/20001
3 years, 11 months ago (2017-01-26 20:38:13 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 20:44:09 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/80b39191c5d7cbe798092d33e15f...

Powered by Google App Engine
This is Rietveld 408576698