Descriptiondrive: Add DownloadOperation::EnsureFileDownloadedByResourceId
FileSystem::GetFileByResourceId was converting resource ID to file path and then calling EnsureFileDownloaded.
Rename EnsureFileDownloaded to EnsureFileDownloadedByPath and add an additional version EnsureFlieDownloadedByResourceID
to avoid the unnecessary conversion from resource ID to file path.
BUG=244135
TEST=unit_tests
R=satorux@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203040
Patch Set 1 #
Total comments: 4
Patch Set 2 : rebase #Patch Set 3 : Fix comment #
Messages
Total messages: 6 (0 generated)
|