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

Issue 2850213002: [Sync] Minor refactor around SyncCycle and ModelTypeSet usage. (Closed)

Created:
3 years, 7 months ago by skym
Modified:
3 years, 7 months ago
Reviewers:
Patrick Noland
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Minor refactor around SyncCycle and ModelTypeSet usage. I was unable to completely switch over to const ModelTypeSet& usage in the syncer, as during a NormalSyncShare we modify the ModelTypeSet* during GetUpdates, so when we Commit we have a reduced set of types. BUG= Review-Url: https://codereview.chromium.org/2850213002 Cr-Commit-Position: refs/heads/master@{#468445} Committed: https://chromium.googlesource.com/chromium/src/+/81b9933d11a09a3c7cfc1b6c1e3d29f6b4868e10

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment grammar. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -59 lines) Patch
M components/sync/engine_impl/cycle/sync_cycle.h View 2 chunks +1 line, -5 lines 0 comments Download
M components/sync/engine_impl/cycle/sync_cycle.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M components/sync/engine_impl/get_updates_delegate.h View 1 5 chunks +7 lines, -7 lines 0 comments Download
M components/sync/engine_impl/get_updates_delegate.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M components/sync/engine_impl/get_updates_processor.h View 2 chunks +5 lines, -4 lines 0 comments Download
M components/sync/engine_impl/get_updates_processor.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M components/sync/engine_impl/sync_scheduler_impl.cc View 8 chunks +15 lines, -17 lines 0 comments Download
M components/sync/engine_impl/sync_scheduler_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/syncer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync/engine_impl/syncer.cc View 4 chunks +8 lines, -6 lines 0 comments Download
M components/sync/engine_impl/syncer_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (10 generated)
skym
PTAL
3 years, 7 months ago (2017-05-01 17:30:49 UTC) #4
Patrick Noland
lgtm https://codereview.chromium.org/2850213002/diff/1/components/sync/engine_impl/get_updates_delegate.h File components/sync/engine_impl/get_updates_delegate.h (right): https://codereview.chromium.org/2850213002/diff/1/components/sync/engine_impl/get_updates_delegate.h#newcode30 components/sync/engine_impl/get_updates_delegate.h:30: // Populates GetUpdate message fields that depends on ...
3 years, 7 months ago (2017-05-01 18:08:13 UTC) #6
skym
https://codereview.chromium.org/2850213002/diff/1/components/sync/engine_impl/get_updates_delegate.h File components/sync/engine_impl/get_updates_delegate.h (right): https://codereview.chromium.org/2850213002/diff/1/components/sync/engine_impl/get_updates_delegate.h#newcode30 components/sync/engine_impl/get_updates_delegate.h:30: // Populates GetUpdate message fields that depends on GetUpdates ...
3 years, 7 months ago (2017-05-01 20:52:36 UTC) #9
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/2850213002/20001
3 years, 7 months ago (2017-05-01 20:53:31 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 22:10:37 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/81b9933d11a09a3c7cfc1b6c1e3d...

Powered by Google App Engine
This is Rietveld 408576698