Descriptiondrive::DownloadHandler should query DownloadHistory.
The drive::DownloadHandler was using the assumption that all
non-IN_PROGRESS downloads that are created were restored from history.
This is not a safe assumption.
Instead query the DownloadHistory to determine whether a new download
was restored from history or not.
Depends on https://codereview.chromium.org/230103002/ which adds a
WasDownloadRestoredFromHistory method to DownloadHistory.
BUG=7648
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271595
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 5 (0 generated)
|