|
sync: add CleanupDisabledTypesCommand to purge data pertaining to previously
synced data types that the user has disabled.
Despite my attempt at simplifying the purge code in Directory[BackingStore], I had to go back to my first attempt with DeleteEntries (which was previously reviewed separately), with a few extra gotchas in Directory::PurgeEntriesWithTypeIn.
BUG= 40252
TEST=CleanupDisabledTypesCommandTest, SyncableDirectoryTest, DirectoryBackingStoreTest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51491
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+598 lines, -62 lines) |
Patch |
 |
M |
chrome/browser/sync/engine/apply_updates_command_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/engine/cleanup_disabled_types_command.h
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/engine/cleanup_disabled_types_command.cc
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc
|
View
|
1
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/download_updates_command_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/process_commit_response_command_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_end_command.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/verify_updates_command_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sync_session_context.h
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store.cc
|
View
|
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store_unittest.cc
|
View
|
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.h
|
View
|
|
7 chunks |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.cc
|
View
|
|
8 chunks |
+74 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_unittest.cc
|
View
|
|
3 chunks |
+88 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/sync/engine/syncer_command_test.h
|
View
|
|
6 chunks |
+27 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/test/sync/engine/test_directory_setter_upper.h
|
View
|
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/sync/engine/test_directory_setter_upper.cc
|
View
|
|
2 chunks |
+28 lines, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|