Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Issue 230133002: drive::DownloadHandler should query DownloadHistory. (Closed)

Created:
6 years, 8 months ago by asanka
Modified:
6 years, 7 months ago
Reviewers:
hashimoto
CC:
chromium-reviews, tfarina, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271595

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M chrome/browser/chromeos/drive/download_handler.cc View 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hashimoto
lgtm
6 years, 8 months ago (2014-04-10 05:09:21 UTC) #1
asanka
Thanks for the review! I'll wait for the dependent CL to land before landing this.
6 years, 8 months ago (2014-04-18 18:09:12 UTC) #2
asanka
The CQ bit was checked by asanka@chromium.org
6 years, 7 months ago (2014-05-20 02:51:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/230133002/30001
6 years, 7 months ago (2014-05-20 02:51:33 UTC) #4
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 06:41:27 UTC) #5
Message was sent while issue was closed.
Change committed as 271595

Powered by Google App Engine
This is Rietveld 408576698