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

Issue 6241001: wstring: make net::GetSuggestedFilename return utf-16 (Closed)

Created:
9 years, 11 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
Avi (use Gerrit), evanm
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

wstring: make net::GetSuggestedFilename return utf-16 We should only use FilePath when working with real paths on disk. Note: I made a minor semantic change to downloads -- we no longer preserve backslashes in server-suggested paths on non-Windows. I think the previous behavior is crazy but from looking at the blame I'm the one who wrote it originally, so I don't feel bad about changing my mind. BUG=69467 TEST=existing test still passes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72390

Patch Set 1 #

Patch Set 2 : trybots #

Patch Set 3 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -73 lines) Patch
M chrome/browser/bookmarks/bookmark_utils.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/download/download_util.cc View 1 1 chunk +16 lines, -12 lines 0 comments Download
M chrome/browser/download/download_util_unittest.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/download/save_package.cc View 1 2 3 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/base/net_util.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/net_util.cc View 1 3 chunks +27 lines, -29 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 chunk +5 lines, -14 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/glue/weburlloader_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Evan Martin
9 years, 11 months ago (2011-01-24 20:00:14 UTC) #1
Avi (use Gerrit)
Code LGTM, but I'm not sure I agree about the idea. "We should only use ...
9 years, 11 months ago (2011-01-24 20:09:51 UTC) #2
evanm
On 2011/01/24 20:09:51, Avi wrote: > "We should only use FilePath when working with real ...
9 years, 11 months ago (2011-01-24 20:21:01 UTC) #3
Avi (use Gerrit)
Yes, we need to worry about this. But FilePath still feels like the right approach ...
9 years, 11 months ago (2011-01-24 20:25:13 UTC) #4
evanm
Mark has historically been opposed to a ctor from strings that aren't in OS-native format... ...
9 years, 11 months ago (2011-01-24 20:27:24 UTC) #5
Avi (use Gerrit)
I still fail to see what that buys us. OK, so we can't have a ...
9 years, 11 months ago (2011-01-24 20:31:27 UTC) #6
evanm
On 2011/01/24 20:31:27, Avi wrote: > I still fail to see what that buys us. ...
9 years, 11 months ago (2011-01-24 20:39:24 UTC) #7
Avi (use Gerrit)
9 years, 11 months ago (2011-01-24 20:53:30 UTC) #8
If it's that bad, OK.

Powered by Google App Engine
This is Rietveld 408576698