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

Issue 11366121: Split DownloadFile::Rename into RenameAndUniquify and RenameAndAnnotate. (Closed)

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

Description

Split DownloadFile::Rename into RenameAndUniquify and RenameAndAnnotate. This matches much better with the semantics as expected by the DownloadItem. R=asanka@chromium.org BUG=159501 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167028

Patch Set 1 #

Total comments: 8

Patch Set 2 : Incorporated comments. #

Total comments: 2

Patch Set 3 : Sync to LKGR. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -238 lines) Patch
M content/browser/download/download_browsertest.cc View 1 2 20 chunks +82 lines, -91 lines 0 comments Download
M content/browser/download/download_file.h View 1 2 chunks +13 lines, -16 lines 0 comments Download
M content/browser/download/download_file_impl.h View 1 chunk +7 lines, -4 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 1 2 chunks +46 lines, -22 lines 0 comments Download
M content/browser/download/download_file_unittest.cc View 8 chunks +33 lines, -15 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 8 chunks +29 lines, -46 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 1 2 6 chunks +7 lines, -19 lines 0 comments Download
M content/browser/download/mock_download_file.h View 1 chunk +7 lines, -4 lines 0 comments Download
M content/public/test/test_file_error_injector.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/test_file_error_injector.cc View 3 chunks +30 lines, -9 lines 0 comments Download
M content/shell/shell_download_manager_delegate.h View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Randy Smith (Not in Mondays)
Asanka, PTAL? There's a bit more context for this on the bug; basically, I want ...
8 years, 1 month ago (2012-11-06 23:38:23 UTC) #1
asanka
LGTM with nits. http://codereview.chromium.org/11366121/diff/1/content/browser/download/download_file.h File content/browser/download/download_file.h (right): http://codereview.chromium.org/11366121/diff/1/content/browser/download/download_file.h#newcode32 content/browser/download/download_file.h:32: // Callback used with Rename(). On ...
8 years, 1 month ago (2012-11-07 16:11:03 UTC) #2
Randy Smith (Not in Mondays)
Thanks! Can you take a quick look at what I did in case you think ...
8 years, 1 month ago (2012-11-07 21:22:35 UTC) #3
asanka
Still LGTM :) http://codereview.chromium.org/11366121/diff/1/content/browser/download/download_file.h File content/browser/download/download_file.h (right): http://codereview.chromium.org/11366121/diff/1/content/browser/download/download_file.h#newcode32 content/browser/download/download_file.h:32: // Callback used with Rename(). On ...
8 years, 1 month ago (2012-11-07 21:39:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/11366121/7001
8 years, 1 month ago (2012-11-07 21:41:21 UTC) #5
commit-bot: I haz the power
Presubmit check for 11366121-7001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-07 21:41:57 UTC) #6
Randy Smith (Not in Mondays)
Looking for stamps; PTAL? * content/public/test: phajdan.jr * content/shell: jochen
8 years, 1 month ago (2012-11-07 21:49:34 UTC) #7
jochen (gone - plz use gerrit)
content/shell lgtm with a question to consider https://chromiumcodereview.appspot.com/11366121/diff/7001/content/shell/shell_download_manager_delegate.h File content/shell/shell_download_manager_delegate.h (right): https://chromiumcodereview.appspot.com/11366121/diff/7001/content/shell/shell_download_manager_delegate.h#newcode36 content/shell/shell_download_manager_delegate.h:36: virtual ~ShellDownloadManagerDelegate(); ...
8 years, 1 month ago (2012-11-07 21:58:47 UTC) #8
Paweł Hajdan Jr.
content/public/test LGTM
8 years, 1 month ago (2012-11-07 22:09:44 UTC) #9
Randy Smith (Not in Mondays)
https://chromiumcodereview.appspot.com/11366121/diff/7001/content/shell/shell_download_manager_delegate.h File content/shell/shell_download_manager_delegate.h (right): https://chromiumcodereview.appspot.com/11366121/diff/7001/content/shell/shell_download_manager_delegate.h#newcode36 content/shell/shell_download_manager_delegate.h:36: virtual ~ShellDownloadManagerDelegate(); On 2012/11/07 21:58:48, jochen wrote: > why ...
8 years, 1 month ago (2012-11-07 22:24:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/11366121/7001
8 years, 1 month ago (2012-11-09 16:56:28 UTC) #11
commit-bot: I haz the power
Failed to apply patch for content/browser/download/download_item_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-09 16:56:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/11366121/4002
8 years, 1 month ago (2012-11-09 22:30:11 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-11-10 01:22:53 UTC) #14
Change committed as 167028

Powered by Google App Engine
This is Rietveld 408576698