Chromium Code Reviews
Descriptiondrive: Recover cache entries from trashed DB to filter out non-dirty cache files
After non-dirty cache files being filtered out during cache file recovery, the destination directory should contain users' necessary files only.
Move the preserved DB to 'trashed' path, instead of deleting it.
Add ResourceMetadataStorage::RecoverCacheEntriesFromTrashedResourceMap to collect cache entries from the trashed DB.
Pass the collected cache entries to FileCache::RecoverFilesFromCacheDirectory.
BUG=277333
TEST=unit_tests
R=kinaba@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232289
Patch Set 1 : #Patch Set 2 : #Patch Set 3 : rebase #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||