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

Issue 7749013: Made the cancel from CancelDownloadOnRename go through the full cancel path, (Closed)

Created:
9 years, 4 months ago by Randy Smith (Not in Mondays)
Modified:
9 years, 4 months ago
CC:
chromium-reviews, achuith+watch_chromium.org, jam, joi+watch-content_chromium.org, rginda+watch_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Made the cancel from CancelDownloadOnRename go through the full cancel path, and added a few more checks for 85408. BUG=85408 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98474

Patch Set 1 #

Patch Set 2 : Fixed error in tests not bailing on select file. #

Total comments: 4

Patch Set 3 : Got rid of unnecessary local variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -29 lines) Patch
M chrome/browser/download/download_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_file_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_item.h View 2 chunks +9 lines, -1 line 0 comments Download
M content/browser/download/download_item.cc View 2 chunks +11 lines, -1 line 0 comments Download
M content/browser/download/download_manager.h View 3 chunks +12 lines, -5 lines 0 comments Download
M content/browser/download/download_manager.cc View 1 2 9 chunks +43 lines, -20 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Randy Smith (Not in Mondays)
Ben, Andy: Could you guys give this a once over? Preferably quickly, as I suspect ...
9 years, 4 months ago (2011-08-25 20:05:20 UTC) #1
benjhayden
LGTM http://codereview.chromium.org/7749013/diff/1006/content/browser/download/download_manager.cc File content/browser/download/download_manager.cc (right): http://codereview.chromium.org/7749013/diff/1006/content/browser/download/download_manager.cc#newcode788 content/browser/download/download_manager.cc:788: if (download->db_handle() > largest_handle) Why not use largest_db_handle_in_history_ ...
9 years, 4 months ago (2011-08-25 20:41:40 UTC) #2
Randy Smith (Not in Mondays)
http://codereview.chromium.org/7749013/diff/1006/content/browser/download/download_manager.cc File content/browser/download/download_manager.cc (right): http://codereview.chromium.org/7749013/diff/1006/content/browser/download/download_manager.cc#newcode788 content/browser/download/download_manager.cc:788: if (download->db_handle() > largest_handle) On 2011/08/25 20:41:40, b s ...
9 years, 4 months ago (2011-08-25 21:19:55 UTC) #3
ahendrickson
LGTM. http://codereview.chromium.org/7749013/diff/1006/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/7749013/diff/1006/chrome/browser/download/download_browsertest.cc#newcode586 chrome/browser/download/download_browsertest.cc:586: true, // Bail on select file What changed?
9 years, 4 months ago (2011-08-25 21:33:33 UTC) #4
Randy Smith (Not in Mondays)
http://codereview.chromium.org/7749013/diff/1006/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/7749013/diff/1006/chrome/browser/download/download_browsertest.cc#newcode586 chrome/browser/download/download_browsertest.cc:586: true, // Bail on select file On 2011/08/25 21:33:34, ...
9 years, 4 months ago (2011-08-25 21:41:51 UTC) #5
commit-bot: I haz the power
9 years, 4 months ago (2011-08-26 20:15:33 UTC) #6
Change committed as 98474

Powered by Google App Engine
This is Rietveld 408576698