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

Issue 6247015: Internationalize the prefix of unconfirmed download file. (Closed)

Created:
9 years, 11 months ago by tfarina
Modified:
9 years, 7 months ago
CC:
chromium-reviews, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org
Visibility:
Public.

Description

Internationalize the prefix of unconfirmed download file. BUG=3563 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72204

Patch Set 1 : #

Patch Set 2 : fix build #

Patch Set 3 : std::wstring #

Total comments: 7

Patch Set 4 : string16 #

Patch Set 5 : unconfirmed -> Unconfirmed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/download/download_file_manager.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_manager.cc View 1 2 3 4 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/download/download_manager_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/download_item_gtk.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
tfarina
Hi Randy, could you review this to me?
9 years, 11 months ago (2011-01-19 17:17:25 UTC) #1
tfarina
Pawel, could you review this to me instead?
9 years, 11 months ago (2011-01-20 12:42:24 UTC) #2
Paweł Hajdan Jr.
The patch looks generally fine, but the OS_WIN pre-processor logic is suspicious. I wonder if ...
9 years, 11 months ago (2011-01-20 12:49:34 UTC) #3
Randy Smith (Not in Mondays)
Sorry to not get to this yesterday .... http://codereview.chromium.org/6247015/diff/21001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/6247015/diff/21001/chrome/app/generated_resources.grd#newcode2126 chrome/app/generated_resources.grd:2126: Unconfirmed ...
9 years, 11 months ago (2011-01-20 16:41:13 UTC) #4
tfarina
On 2011/01/20 16:41:13, rdsmith wrote: > Sorry to not get to this yesterday .... > ...
9 years, 11 months ago (2011-01-20 16:45:29 UTC) #5
tfarina
http://codereview.chromium.org/6247015/diff/21001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/6247015/diff/21001/chrome/app/generated_resources.grd#newcode2126 chrome/app/generated_resources.grd:2126: Unconfirmed On 2011/01/20 16:41:14, rdsmith wrote: > It looks ...
9 years, 11 months ago (2011-01-20 16:48:18 UTC) #6
Randy Smith (Not in Mondays)
Beyond the below and getting appropriate UTF-8/16/string/wstring eyes on it, LGTM. http://codereview.chromium.org/6247015/diff/21001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): ...
9 years, 11 months ago (2011-01-20 17:42:12 UTC) #7
tfarina
On 2011/01/20 17:42:12, rdsmith wrote: > Beyond the below and getting appropriate UTF-8/16/string/wstring eyes on ...
9 years, 11 months ago (2011-01-20 17:49:01 UTC) #8
Randy Smith (Not in Mondays)
On 2011/01/20 17:49:01, tfarina wrote: > Because we'are not asserting anything on suggested_path. Huh. This ...
9 years, 11 months ago (2011-01-20 17:58:55 UTC) #9
brettw
LGTM http://codereview.chromium.org/6247015/diff/21001/chrome/browser/download/download_manager.cc File chrome/browser/download/download_manager.cc (right): http://codereview.chromium.org/6247015/diff/21001/chrome/browser/download/download_manager.cc#newcode338 chrome/browser/download/download_manager.cc:338: std::wstring unconfirmed_prefix = UTF16ToWideHack( You can just use ...
9 years, 11 months ago (2011-01-20 18:49:22 UTC) #10
tfarina
9 years, 11 months ago (2011-01-20 18:55:31 UTC) #11
http://codereview.chromium.org/6247015/diff/21001/chrome/browser/download/dow...
File chrome/browser/download/download_manager.cc (right):

http://codereview.chromium.org/6247015/diff/21001/chrome/browser/download/dow...
chrome/browser/download/download_manager.cc:338: std::wstring unconfirmed_prefix
= UTF16ToWideHack(
On 2011/01/20 18:49:22, brettw wrote:
> You can just use a string16 here and skip the UTF16ToWideHack. On Windows
> wstring == string16, and I would like to transfer everything over at some
point.

Ah, yeah. I've used string16 on patchset 2, but without FILE_PATH_LITERAL (that
is why win bot failed). Thanks, fixed.

Powered by Google App Engine
This is Rietveld 408576698