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

Issue 10689093: Move Rename functionality from DownloadFileManager to DownloadFileImple. (Closed)

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

Description

Move Rename functionality from DownloadFileManager to DownloadFileImple. BUG=123998 R=asanka@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146162

Patch Set 1 #

Patch Set 2 : Sync'd to TOT to avoid showing already committed changes in Rietveld. #

Total comments: 22

Patch Set 3 : Incorporated comments. #

Total comments: 2

Patch Set 4 : Merged to LKGR. #

Total comments: 1

Patch Set 5 : Switching to making rename file by making the directory unwritable. #

Patch Set 6 : Fixed some try job problems. #

Patch Set 7 : Upload fater merging past revert to figure out if I still have a patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -190 lines) Patch
M content/browser/download/download_file.h View 1 2 3 4 5 6 3 chunks +16 lines, -3 lines 0 comments Download
M content/browser/download/download_file_impl.h View 1 2 3 4 5 6 2 chunks +6 lines, -5 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 1 3 chunks +39 lines, -7 lines 0 comments Download
M content/browser/download/download_file_manager.h View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/download/download_file_manager.cc View 1 1 chunk +5 lines, -33 lines 0 comments Download
M content/browser/download/download_file_manager_unittest.cc View 1 2 8 chunks +24 lines, -96 lines 0 comments Download
M content/browser/download/download_file_unittest.cc View 1 2 3 4 5 17 chunks +173 lines, -11 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 4 chunks +23 lines, -6 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 4 5 6 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/download/mock_download_file.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/browser/download_manager.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/test/mock_download_manager.h View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M content/test/test_file_error_injector.cc View 1 5 chunks +30 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Randy Smith (Not in Mondays)
Asanka, PTAL when you have a chance. Thanks!
8 years, 5 months ago (2012-07-03 22:12:44 UTC) #1
asanka
Nice cleanup! http://codereview.chromium.org/10689093/diff/2001/content/browser/download/download_file.h File content/browser/download/download_file.h (right): http://codereview.chromium.org/10689093/diff/2001/content/browser/download/download_file.h#newcode41 content/browser/download/download_file.h:41: // Returns net::OK on success, or a ...
8 years, 5 months ago (2012-07-05 18:47:21 UTC) #2
Randy Smith (Not in Mondays)
Comments incorporated; PTAL. http://codereview.chromium.org/10689093/diff/2001/content/browser/download/download_file.h File content/browser/download/download_file.h (right): http://codereview.chromium.org/10689093/diff/2001/content/browser/download/download_file.h#newcode41 content/browser/download/download_file.h:41: // Returns net::OK on success, or ...
8 years, 5 months ago (2012-07-09 20:35:50 UTC) #3
asanka
I'd say LGTM with a clean try run, but MakeFileUnwriteable() still leaves the file overwriteable ...
8 years, 5 months ago (2012-07-10 18:11:45 UTC) #4
Randy Smith (Not in Mondays)
Jay, could I get a review/rubberstamp from you for changes to content/test and content/public/test?
8 years, 5 months ago (2012-07-11 01:08:50 UTC) #5
Jay Civelli
lgtm
8 years, 5 months ago (2012-07-11 01:10:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/10689093/5003
8 years, 5 months ago (2012-07-11 17:13:28 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-07-11 18:53:20 UTC) #8
Change committed as 146162

Powered by Google App Engine
This is Rietveld 408576698