0
Files
src/storage
Kenichi Ishibashi c26ff44a53 Blob: Call callback with an empty vector when the size of side data is zero
disk_cache::Entry::GetDataSize() can return zero. If the size of
side data is zero, it doesn't make sense to try to read side data.
Call ReadSideDataCallback with an empty vector when the size is zero.
I don't expect this improves performance in general though.

Change-Id: I07237a1b41a4b95349a430806122270084f8b55d
Reviewed-on: https://chromium-review.googlesource.com/c/1307029
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605286}
2018-11-05 09:52:26 +00:00
..
2018-10-10 23:01:51 +00:00