DescriptionCheck File snapshots and Blob byte counts when writing to IDB.
This also fixes a few bugs in the IDB/Blob stuff:
* Removed a DCHECK that could hit depending on test teardown order.
* Made ChainedBlobWriterImpl truly asynchronous, fixing a crash if a File write failed before the first Blob write was attempted.
* Fix a crash where we'd try to free a scoped_ptr twice in the event of an abort.
Note that most of the time we won't actually receive File metadata, as Files often aren't snapshotted; I've got a blink change in progress [https://codereview.chromium.org/325383002/] that will always send it.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278509
Patch Set 1 #Patch Set 2 : Checkpointing work #Patch Set 3 : Working #Patch Set 4 : Make ChainedBlobWriterImpl truly asynch; make timestamp check approximate. #Patch Set 5 : Fix merge conflicts #Patch Set 6 : Build fix #
Total comments: 4
Messages
Total messages: 9 (0 generated)
|