DescriptionFileAPI: Run database recovery on IOError.
In this case, the databases was actually corrupted but the database classes did not try to repair.
After this CL lands, these corruption should be repaired correctly.
TEST="content_unittests: FileSystemDirectoryDatabaseTest.TestRepairDatabase_MissingManifest & FileSystemOriginDatabaseTest.DatabaseRecoveryForMissingManifestTest"
BUG=229773
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193380
Patch Set 1 #Patch Set 2 : +test #
Total comments: 12
Patch Set 3 : simplify test helper #
Total comments: 1
Patch Set 4 : +comment, +test for other db files #
Messages
Total messages: 10 (0 generated)
|