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

Issue 398813005: [Sync] Rely on directory to decide which types need to be purged (Closed)

Created:
6 years, 5 months ago by Nicolas Zea
Modified:
6 years, 5 months ago
Reviewers:
rlarocque
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[Sync] Rely on directory to decide which types need to be purged Preivously we relied on the SyncBackendRegistrar's last configured types to decide which types have been recently disabled. Now we just purge all disabled types that exist in the directory, as recorded by their progress markers (which should never be deleted unless the type has been purged). BUG=386778 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284283

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -27 lines) Patch
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc View 15 chunks +62 lines, -13 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M sync/syncable/directory.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/syncable/directory.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M sync/syncable/directory_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/syncable/syncable_unittest.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M sync/test/engine/test_syncable_utils.h View 2 chunks +3 lines, -0 lines 0 comments Download
M sync/test/engine/test_syncable_utils.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Nicolas Zea
PTAL
6 years, 5 months ago (2014-07-18 23:04:08 UTC) #1
rlarocque
LGTM.
6 years, 5 months ago (2014-07-18 23:36:27 UTC) #2
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 5 months ago (2014-07-18 23:36:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/398813005/1
6 years, 5 months ago (2014-07-18 23:38:25 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-19 02:19:57 UTC) #5
Message was sent while issue was closed.
Change committed as 284283

Powered by Google App Engine
This is Rietveld 408576698