DescriptionFix Simple Cache race on multiple dooms on flight.
Previously we didn't register dooms in the backend until after
asynchronous operations on the entry; this meant that multiple
registrations were possible if different entries were being doomed, and null dereferences abounded after doom operations. Now fixed.
This reenables DiskCacheBackendTest.SimpleCacheDoomAll.
R=pasko,clamy,ttuttle
BUG=290866, 237450, 289542
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223376
Patch Set 1 #
Total comments: 1
Patch Set 2 : move OnDoomStart #Patch Set 3 : add a unit test #
Total comments: 5
Patch Set 4 : remedaite #
Messages
Total messages: 16 (0 generated)
|