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

Issue 2842373004: [sync] Purge directory data when migrating to USS (Closed)

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

Description

[sync] Purge directory data when migrating to USS Make use of the existing PurgeEntriesWithTypeIn to purge the directory of entries of the type we just migrated. Add a test that ensures this happens. R=skym@chromium.org BUG=716156 Review-Url: https://codereview.chromium.org/2842373004 Cr-Commit-Position: refs/heads/master@{#468170} Committed: https://chromium.googlesource.com/chromium/src/+/47c2232d3a2cbad52c1f38696f37ece1f0c8154c

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix histograms, add comment #

Patch Set 3 : [sync] Add constexpr to EnumSet #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -86 lines) Patch
M components/sync/base/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/base/enum_set.h View 1 2 6 chunks +34 lines, -23 lines 0 comments Download
M components/sync/base/enum_set_unittest.cc View 1 2 3 chunks +34 lines, -0 lines 0 comments Download
M components/sync/base/model_type.h View 1 2 4 chunks +36 lines, -11 lines 0 comments Download
M components/sync/driver/data_type_manager_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/engine_impl/model_type_registry.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/sync/engine_impl/sync_encryption_handler_impl_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/syncable/model_type.cc View 1 2 3 chunks +3 lines, -44 lines 0 comments Download
M components/sync/syncable/model_type_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
Patrick Noland
Sky, PTAL
3 years, 7 months ago (2017-04-28 20:17:58 UTC) #5
skym
lgtm https://codereview.chromium.org/2842373004/diff/1/components/sync/engine_impl/model_type_registry.cc File components/sync/engine_impl/model_type_registry.cc (right): https://codereview.chromium.org/2842373004/diff/1/components/sync/engine_impl/model_type_registry.cc#newcode126 components/sync/engine_impl/model_type_registry.cc:126: UMA_HISTOGRAM_ENUMERATION("Sync.USSMigrationSuccess", type, These histograms are wrong. Please wrap ...
3 years, 7 months ago (2017-04-28 20:37:58 UTC) #6
Patrick Noland
https://codereview.chromium.org/2842373004/diff/1/components/sync/engine_impl/model_type_registry.cc File components/sync/engine_impl/model_type_registry.cc (right): https://codereview.chromium.org/2842373004/diff/1/components/sync/engine_impl/model_type_registry.cc#newcode126 components/sync/engine_impl/model_type_registry.cc:126: UMA_HISTOGRAM_ENUMERATION("Sync.USSMigrationSuccess", type, On 2017/04/28 20:37:58, skym wrote: > These ...
3 years, 7 months ago (2017-04-28 22:23:27 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/2842373004/20001
3 years, 7 months ago (2017-04-28 22:56:49 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 23:06:57 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/47c2232d3a2cbad52c1f38696f37...

Powered by Google App Engine
This is Rietveld 408576698