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

Issue 10831302: Download resumption - Preliminary (Closed)

Created:
8 years, 4 months ago by ahendrickson
Modified:
8 years ago
CC:
chromium-reviews, asanka, tfarina, jam, joi+watch-content_chromium.org, rginda+watch_chromium.org, arv (Not doing code reviews), darin-cc_chromium.org, rdsmith+dwatch_chromium.org, stuartmorgan+watch_chromium.org, benjhayden
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Download resumption BUG=None

Patch Set 1 #

Patch Set 2 : Fixed issues with unit tests. #

Patch Set 3 : Merged with trunk #

Patch Set 4 : Fixed unit test. #

Patch Set 5 : Fixed compile issues. #

Patch Set 6 : Merged with trunk. #

Patch Set 7 : Changed DownloadItemImpl to get a DownloadResourceHandle via a member function. #

Patch Set 8 : Merged with trunk #

Patch Set 9 : Fixed bug in unit test. #

Patch Set 10 : Merged with trunk. #

Patch Set 11 : Merged with trunk. Fixed typo. #

Patch Set 12 : Fixed callback and file erasure issues. #

Patch Set 13 : Quick fix for DownloadExtensionTests. #

Patch Set 14 : Fixed content unit tests. #

Total comments: 10

Patch Set 15 : Merged with trunk, and partial comment improvements. #

Patch Set 16 : Merged DownloadItem Start() & Resume(). Simplified CanResumeInterrupted(). Based on r168955. #

Patch Set 17 : Based on r169394. Fixed gcc/clang compiler issues. #

Patch Set 18 : Removed unused variable. #

Patch Set 19 : Fixed signed/unsigned compare issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+786 lines, -118 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/download/download_item_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/download/download_item_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/download/download_shelf_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_installer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/downloads/downloads.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -6 lines 0 comments Download
M content/browser/download/base_file.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +13 lines, -0 lines 0 comments Download
M content/browser/download/base_file_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_create_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/download/download_file.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/download/download_item_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/download/download_item_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +35 lines, -5 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 29 chunks +267 lines, -41 lines 0 comments Download
M content/browser/download/download_item_impl_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/download/download_item_impl_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 16 chunks +154 lines, -15 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 11 chunks +70 lines, -22 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +8 lines, -8 lines 0 comments Download
M content/browser/download/download_net_log_parameters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/download/download_net_log_parameters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +16 lines, -0 lines 0 comments Download
M content/browser/download/download_request_handle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -1 line 0 comments Download
M content/browser/download/download_request_handle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/download/download_resource_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +27 lines, -6 lines 0 comments Download
M content/browser/hyphenator/hyphenator_message_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +25 lines, -0 lines 0 comments Download
M content/browser/renderer_host/resource_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M content/public/browser/download_item.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +12 lines, -0 lines 0 comments Download
M content/public/browser/download_manager_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/browser/download_manager_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +11 lines, -0 lines 0 comments Download
M content/public/browser/download_url_parameters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +10 lines, -0 lines 0 comments Download
M content/public/browser/resource_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/test/mock_download_item.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -0 lines 0 comments Download
M content/public/test/mock_download_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Randy Smith (Not in Mondays)
First, a bit of context: My comments are going to be made in the context ...
8 years, 4 months ago (2012-08-24 20:09:11 UTC) #1
ahendrickson
I'll take a look at http://codereview.chromium.**org/10823406<http://codereview.chromium.org/10823406> see what I can do. For the third point, ...
8 years, 4 months ago (2012-08-24 21:52:18 UTC) #2
Randy Smith (Not in Mondays)
On 2012/08/24 21:52:18, ahendrickson wrote: > I'll take a look at > http://codereview.chromium.**org/10823406%3Chttp://codereview.chromium.org/10823406> > see ...
8 years, 4 months ago (2012-08-25 15:23:23 UTC) #3
ahendrickson
PTAL.
8 years, 2 months ago (2012-10-11 02:48:31 UTC) #4
Randy Smith (Not in Mondays)
Hey, Andy. Included are some high level thoughts on this, preperatory to talking next week. ...
8 years, 2 months ago (2012-10-15 00:36:07 UTC) #5
benjhayden
http://codereview.chromium.org/10831302/diff/68002/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/10831302/diff/68002/chrome/browser/download/chrome_download_manager_delegate.cc#newcode254 chrome/browser/download/chrome_download_manager_delegate.cc:254: int64 ChromeDownloadManagerDelegate::GetIntermediateFileLength( Could this move to download_utils? http://codereview.chromium.org/10831302/diff/68002/chrome/browser/download/download_item_model.cc File ...
8 years, 2 months ago (2012-10-15 17:59:37 UTC) #6
ahendrickson
Hey Randy, You can take this over now. The download_item_impl_unittest.cc file could use some love. ...
8 years ago (2012-11-26 02:29:19 UTC) #7
Randy Smith (Not in Mondays)
8 years ago (2012-12-14 16:34:12 UTC) #8
I've created a new issue (owned by me) and uploaded it with the contents of
PS19: https://codereview.chromium.org/11571025/.  I will close this issue.

Powered by Google App Engine
This is Rietveld 408576698