drive::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 Review URL: https://codereview.chromium.org/230133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271595 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment