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

Issue 10836293: Replace the DownloadFileManager with direct ownership of DownloadFile. (Closed)

Created:
8 years, 4 months ago by Randy Smith (Not in Mondays)
Modified:
8 years, 4 months ago
Reviewers:
benjhayden, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, rginda+watch_chromium.org, jam, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Replace the DownloadFileManager with direct ownership of DownloadFile. This CL is a re-land of http://codereview.chromium.org/10799005, which was reverted due to test flakiness. BUG=123998 R=benjhayden@chromium.org TBR=jam@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152213

Patch Set 1 #

Patch Set 2 : Take more direct control of location of destruction of Download Files. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1012 lines, -1649 lines) Patch
M chrome/browser/download/download_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/browser_context.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/browser_main_loop.cc View 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/download/base_file.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/download/base_file.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/download/download_file.h View 4 chunks +13 lines, -11 lines 0 comments Download
A content/browser/download/download_file_factory.h View 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/download/download_file_factory.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M content/browser/download/download_file_impl.h View 5 chunks +22 lines, -25 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 8 chunks +65 lines, -64 lines 0 comments Download
D content/browser/download/download_file_manager.h View 1 chunk +0 lines, -180 lines 0 comments Download
D content/browser/download/download_file_manager.cc View 1 chunk +0 lines, -227 lines 0 comments Download
D content/browser/download/download_file_manager_unittest.cc View 1 chunk +0 lines, -413 lines 0 comments Download
M content/browser/download/download_file_unittest.cc View 16 chunks +66 lines, -83 lines 0 comments Download
M content/browser/download/download_item_impl.h View 9 chunks +38 lines, -16 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 14 chunks +171 lines, -42 lines 2 comments Download
M content/browser/download/download_item_impl_delegate.h View 1 chunk +12 lines, -2 lines 0 comments Download
M content/browser/download/download_item_impl_delegate.cc View 2 chunks +9 lines, -4 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 22 chunks +165 lines, -78 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 9 chunks +23 lines, -27 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 17 chunks +57 lines, -141 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 18 chunks +60 lines, -81 lines 0 comments Download
M content/browser/download/download_resource_handler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/download/mock_download_file.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/download/mock_download_file.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M content/browser/download/save_package.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.h View 3 chunks +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +3 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
A content/public/browser/download_destination_observer.h View 1 chunk +37 lines, -0 lines 0 comments Download
M content/public/browser/download_manager.h View 1 chunk +0 lines, -23 lines 0 comments Download
M content/public/test/mock_download_manager.h View 1 chunk +2 lines, -12 lines 0 comments Download
M content/public/test/test_file_error_injector.h View 6 chunks +18 lines, -16 lines 0 comments Download
M content/public/test/test_file_error_injector.cc View 13 chunks +152 lines, -170 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Randy Smith (Not in Mondays)
John, Ben: Could you take a look at this? PS1 of this issue is identical ...
8 years, 4 months ago (2012-08-16 20:20:09 UTC) #1
Randy Smith (Not in Mondays)
On 2012/08/16 20:20:09, rdsmith wrote: > John, Ben: Could you take a look at this? ...
8 years, 4 months ago (2012-08-16 20:21:37 UTC) #2
benjhayden
LGTM with one request for a comment that you can ignore if you want. http://codereview.chromium.org/10836293/diff/2001/content/browser/download/download_item_impl.cc ...
8 years, 4 months ago (2012-08-16 20:35:20 UTC) #3
Randy Smith (Not in Mondays)
http://codereview.chromium.org/10836293/diff/2001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): http://codereview.chromium.org/10836293/diff/2001/content/browser/download/download_item_impl.cc#newcode123 content/browser/download/download_item_impl.cc:123: // at the end of the function. On 2012/08/16 ...
8 years, 4 months ago (2012-08-16 20:44:21 UTC) #4
Randy Smith (Not in Mondays)
John indicates that TBRs are fine for relanding if no reviewed code has been changed; ...
8 years, 4 months ago (2012-08-17 19:18:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/10836293/2001
8 years, 4 months ago (2012-08-17 19:22:36 UTC) #6
commit-bot: I haz the power
Try job failure for 10836293-2001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-17 21:11:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/10836293/2001
8 years, 4 months ago (2012-08-17 21:24:02 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-18 02:12:51 UTC) #9
Change committed as 152213

Powered by Google App Engine
This is Rietveld 408576698