Descriptionremove is_sparse_file_ from DownloadFileImpl
|received_slices_| vector and |source_streams_| can both tell whether the file is sparse.
For non parallel download, received_slices_ vector is always empty
If a writer is added, we will start constructing that vector.
BUG=644352
Review-Url: https://codereview.chromium.org/2782033002
Cr-Commit-Position: refs/heads/master@{#460749}
Committed: https://chromium.googlesource.com/chromium/src/+/6be2821a3321d1a56d1c2b0424903c0015fb4590
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix tests #Patch Set 3 : add IsSparseFile() helper method #
Total comments: 3
Messages
Total messages: 34 (24 generated)
|